public function Links::defineOptions in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Plugin/views/field/Links.php \Drupal\bibcite_entity\Plugin\views\field\Links::defineOptions()
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides FieldPluginBase::defineOptions
File
- modules/
bibcite_entity/ src/ Plugin/ views/ field/ Links.php, line 66
Class
- Links
- Field handler to render links for bibcite entity.
Namespace
Drupal\bibcite_entity\Plugin\views\fieldCode
public function defineOptions() {
$options = parent::defineOptions();
$options['override_default'] = [
'default' => FALSE,
];
$options['links'] = [
'default' => [
'overrides' => [],
],
];
return $options;
}