function HandlerBase::__construct

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::__construct()
  2. 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::__construct()
  3. 10 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

43 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/filter/Date.php
Constructs a new Date handler.
Date::__construct in core/modules/datetime/src/Plugin/views/sort/Date.php
Constructs a Handler object.

... See full list

43 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/filter/Date.php
Constructs a new Date handler.
Date::__construct in core/modules/datetime/src/Plugin/views/sort/Date.php
Constructs a Handler object.

... See full list

File

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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.