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. 11.x 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

42 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/argument/Date.php
Constructs a new Date instance.
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.

... See full list

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

... See full list

File

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

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.