You are here

public function RelationHandlerInterface::init in Group 2.0.x

Initializes the handler.

@todo Plugin definition should become a class.

Parameters

string $plugin_id: The group relation plugin ID. Note: This is the actual plugin ID, including any potential derivative ID. To get the base plugin ID, you should use $definition['id'].

array $definition: The group relation plugin definition.

File

src/Plugin/Group/RelationHandler/RelationHandlerInterface.php, line 22

Class

RelationHandlerInterface
Provides a common interface for group relation handlers.

Namespace

Drupal\group\Plugin\Group\RelationHandler

Code

public function init($plugin_id, array $definition);