You are here

public function HandlerBase::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::__construct()

Constructs a Handler object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

45 calls to HandlerBase::__construct()
BulkForm::__construct in core/modules/views/src/Plugin/views/field/BulkForm.php
Constructs a new BulkForm object.
Bundle::__construct in core/modules/views/src/Plugin/views/filter/Bundle.php
Constructs a Bundle object.
Date::__construct in core/modules/views/src/Plugin/views/field/Date.php
Constructs a new Date object.
Date::__construct in core/modules/datetime/src/Plugin/views/sort/Date.php
Constructs a Handler object.
Date::__construct in core/modules/views/src/Plugin/views/argument/Date.php
Constructs a new Date instance.

... See full list

45 methods override HandlerBase::__construct()
BulkForm::__construct in core/modules/views/src/Plugin/views/field/BulkForm.php
Constructs a new BulkForm object.
Bundle::__construct in core/modules/views/src/Plugin/views/filter/Bundle.php
Constructs a Bundle object.
Date::__construct in core/modules/views/src/Plugin/views/field/Date.php
Constructs a new Date object.
Date::__construct in core/modules/datetime/src/Plugin/views/sort/Date.php
Constructs a Handler object.
Date::__construct in core/modules/views/src/Plugin/views/argument/Date.php
Constructs a new Date instance.

... See full list

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 93

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->is_handler = TRUE;
}