You are here

public function GroupContentToEntityBase::__construct in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/relationship/GroupContentToEntityBase.php \Drupal\group\Plugin\views\relationship\GroupContentToEntityBase::__construct()

Constructs an GroupContentToEntityBase object.

Parameters

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

\Drupal\group\Plugin\GroupContentEnablerManagerInterface $plugin_manager: The group content enabler plugin manager.

Overrides HandlerBase::__construct

File

src/Plugin/views/relationship/GroupContentToEntityBase.php, line 39

Class

GroupContentToEntityBase
A relationship handler base for group content entity references.

Namespace

Drupal\group\Plugin\views\relationship

Code

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