You are here

public function GroupToGroupContent::__construct in Group 8

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

Constructs a GroupToGroupContent 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/GroupToGroupContent.php, line 50

Class

GroupToGroupContent
A relationship handler for group content.

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