You are here

protected function Eva::defineOptions in EVA: Entity Views Attachment 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/display/Eva.php \Drupal\eva\Plugin\views\display\Eva::defineOptions()

Overrides \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions().

Overrides DisplayPluginBase::defineOptions

File

src/Plugin/views/display/Eva.php, line 33

Class

Eva
The plugin that handles an EVA display in views.

Namespace

Drupal\eva\Plugin\views\display

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['entity_type']['default'] = '';
  $options['bundles']['default'] = array();
  $options['argument_mode']['default'] = 'id';
  $options['default_argument']['default'] = '';
  $options['title']['default'] = '';
  $options['defaults']['default']['title'] = FALSE;
  return $options;
}