You are here

public function GroupRelationManagerInterface::getAccessControlHandler in Group 2.0.x

Creates a new access control handler instance.

Parameters

string $plugin_id: The plugin ID for this access control handler.

Return value

\Drupal\group\Plugin\Group\RelationHandler\AccessControlInterface An access control handler instance.

Throws

\Drupal\Component\Plugin\Exception\PluginNotFoundException Thrown if the plugin doesn't exist.

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Thrown if the access control handler couldn't be loaded.

1 method overrides GroupRelationManagerInterface::getAccessControlHandler()
GroupRelationManager::getAccessControlHandler in src/Plugin/Group/Relation/GroupRelationManager.php
Creates a new access control handler instance.

File

src/Plugin/Group/Relation/GroupRelationManagerInterface.php, line 70

Class

GroupRelationManagerInterface
Provides a common interface for group relation managers.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function getAccessControlHandler($plugin_id);