function EntityReverse::__construct

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/relationship/EntityReverse.php \Drupal\views\Plugin\views\relationship\EntityReverse::__construct()
  2. 8.9.x core/modules/views/src/Plugin/views/relationship/EntityReverse.php \Drupal\views\Plugin\views\relationship\EntityReverse::__construct()
  3. 11.x core/modules/views/src/Plugin/views/relationship/EntityReverse.php \Drupal\views\Plugin\views\relationship\EntityReverse::__construct()

Constructs an EntityReverse object.

Parameters

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

string $plugin_id: The plugin ID for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\views\Plugin\ViewsHandlerManager $join_manager: The views plugin join manager.

Overrides HandlerBase::__construct

File

core/modules/views/src/Plugin/views/relationship/EntityReverse.php, line 41

Class

EntityReverse
A relationship handlers which reverse entity references.

Namespace

Drupal\views\Plugin\views\relationship

Code

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

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