protected function Tid::defineOptions

Retrieve the options when this is a new access control plugin

Overrides ArgumentDefaultPluginBase::defineOptions

File

drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument_default/Tid.php, line 40
Definition of 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,
    'bool' => TRUE,
  );
  $options['node'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['anyall'] = array(
    'default' => ',',
  );
  $options['limit'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['vocabularies'] = array(
    'default' => array(),
  );
  return $options;
}