public function GathercontentStatusColorField::init in GatherContent 8.4
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 FieldPluginBase::init
File
- gathercontent_ui/
src/ Plugin/ views/ field/ GathercontentStatusColorField.php, line 22
Class
- GathercontentStatusColorField
- A handler to provide a field that is completely custom by the administrator.
Namespace
Drupal\gathercontent_ui\Plugin\views\fieldCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->field_alias = 'item_status';
}