You are here

public function MefibsDisplayExtender::defineOptionsAlter in MEFIBS - More exposed forms in blocks 8

Overrides Drupal\views\Plugin\views\display_extender\DisplayExtenderPluginBase::defineOptionsAlter().

Overrides DisplayExtenderPluginBase::defineOptionsAlter

File

lib/Drupal/mefibs/Plugin/views/display_extender/MefibsDisplayExtender.php, line 49
Contains \Drupal\mefibs\Plugin\views\display_extender\MefibsDisplayExtender.

Class

MefibsDisplayExtender
Plugin annotation @ViewsDisplayExtender( id = "mefibs", title = @Translation("Mefibs"), help = @Translation("Provides additional exposed filter blocks for this view."), no_ui = FALSE )

Namespace

Drupal\mefibs\Plugin\views\display_extender

Code

public function defineOptionsAlter(&$options) {
  $options['mefibs'] = array(
    'default' => array(
      'blocks' => array(),
    ),
    'translatable' => TRUE,
  );
  return $options;
}