You are here

protected function Tid::defineOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::defineOptions()

Retrieve the options when this is a new access control plugin

Overrides ArgumentDefaultPluginBase::defineOptions

File

core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php, line 101
Contains \Drupal\taxonomy\Plugin\views\argument_default\Tid.

Class

Tid
Taxonomy tid default argument.

Namespace

Drupal\taxonomy\Plugin\views\argument_default

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['term_page'] = array(
    'default' => TRUE,
  );
  $options['node'] = array(
    'default' => FALSE,
  );
  $options['anyall'] = array(
    'default' => ',',
  );
  $options['limit'] = array(
    'default' => FALSE,
  );
  $options['vids'] = array(
    'default' => array(),
  );
  return $options;
}