You are here

public function GroupContentHandlerBase::__construct in Group 8

Constructs a GroupContentHandlerBase object.

Parameters

string $plugin_id: The plugin ID.

array $definition: The group content enabler definition.

File

src/Plugin/GroupContentHandlerBase.php, line 44

Class

GroupContentHandlerBase
Provides a base class for group content handlers.

Namespace

Drupal\group\Plugin

Code

public function __construct($plugin_id, array $definition) {
  $this->pluginId = $plugin_id;
  $this->definition = $definition;
}