protected function MaestroEngineEntityIdentifierEntityLabel::defineOptions in Maestro 8.2
Same name and namespace in other branches
- 3.x src/Plugin/views/field/MaestroEngineEntityIdentifierEntityLabel.php \Drupal\maestro\Plugin\views\field\MaestroEngineEntityIdentifierEntityLabel::defineOptions()
Define the available options.
Return value
array The array of options.
Overrides FieldPluginBase::defineOptions
File
- src/
Plugin/ views/ field/ MaestroEngineEntityIdentifierEntityLabel.php, line 31
Class
- MaestroEngineEntityIdentifierEntityLabel
- Field handler to display the entity label for the entity POINTED TO from the entity identifiers .
Namespace
Drupal\maestro\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['link_to_entity'] = [
'default' => 0,
];
return $options;
}