public function FieldPluginBase::init in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::init()
Initialize the plugin.
Parameters
\Drupal\views\ViewExecutable $view: The view object.
\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.
array $options: The options configured for this plugin.
Overrides HandlerBase::init
14 calls to FieldPluginBase::init()
- Boolean::init in core/
modules/ views/ src/ Plugin/ views/ field/ Boolean.php - Initialize the plugin.
- BulkForm::init in core/
modules/ system/ src/ Plugin/ views/ field/ BulkForm.php - Initialize the plugin.
- DblogMessage::init in core/
modules/ dblog/ src/ Plugin/ views/ field/ DblogMessage.php - Initialize the plugin.
- EntityLabel::init in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLabel.php - Initialize the plugin.
- Field::init in core/
modules/ views/ src/ Plugin/ views/ field/ Field.php - Initialize the plugin.
14 methods override FieldPluginBase::init()
- Boolean::init in core/
modules/ views/ src/ Plugin/ views/ field/ Boolean.php - Initialize the plugin.
- BulkForm::init in core/
modules/ system/ src/ Plugin/ views/ field/ BulkForm.php - Initialize the plugin.
- DblogMessage::init in core/
modules/ dblog/ src/ Plugin/ views/ field/ DblogMessage.php - Initialize the plugin.
- EntityLabel::init in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLabel.php - Initialize the plugin.
- Field::init in core/
modules/ views/ src/ Plugin/ views/ field/ Field.php - Initialize the plugin.
File
- core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php, line 112 - Contains \Drupal\views\Plugin\views\field\FieldPluginBase.
Class
- FieldPluginBase
- Base class for views fields.
Namespace
Drupal\views\Plugin\views\fieldCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->additional_fields = array();
if (!empty($this->definition['additional fields'])) {
$this->additional_fields = $this->definition['additional fields'];
}
if (!isset($this->options['exclude'])) {
$this->options['exclude'] = '';
}
}