Issue #1758632 by dawehner: Remove options() out of the code.

8.0.x
dereine 2012-08-27 13:58:03 +02:00 committed by Tim Plunkett
parent 87689a189a
commit 44f22ac40b
2 changed files with 0 additions and 18 deletions

View File

@ -92,14 +92,6 @@ abstract class PluginBase extends ComponentPluginBase {
*/
function construct() { $this->set_default_options(); }
/**
* Set default options on this object. Called by the constructor in a
* complex chain to deal with backward compatibility.
*
* @deprecated since views2
*/
function options(&$options) { }
/**
* Set default options.
* For backward compatibility, it sends the options array; this is a
@ -107,9 +99,6 @@ abstract class PluginBase extends ComponentPluginBase {
*/
function set_default_options() {
$this->_set_option_defaults($this->options, $this->option_definition());
// Retained for complex defaults plus backward compatibility.
$this->options($this->options);
}
function _set_option_defaults(&$storage, $options, $level = 0) {

View File

@ -40,13 +40,6 @@ class DefaultStyle extends StylePluginBase {
*/
protected $usesRowClass = TRUE;
/**
* Set default options
*/
function options(&$options) {
parent::options($options);
}
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
}