protected function Tid::defineOptions in Views (for Drupal 7) 8.3
Retrieve the options when this is a new access control plugin
Overrides ArgumentDefaultPluginBase::defineOptions
File
- lib/
Views/ taxonomy/ Plugin/ views/ argument_default/ Tid.php, line 40 - Definition of Views\taxonomy\Plugin\views\argument_default\Tid.
Class
- Tid
- Taxonomy tid default argument.
Namespace
Views\taxonomy\Plugin\views\argument_defaultCode
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;
}