public function GroupContentEnablerManagerInterface::getAccessControlHandler in Group 8
Creates a new access control handler instance.
Parameters
string $plugin_id: The plugin ID for this access control handler.
Return value
\Drupal\group\plugin\GroupContentAccessControlHandlerInterface 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 GroupContentEnablerManagerInterface::getAccessControlHandler()
- GroupContentEnablerManager::getAccessControlHandler in src/
Plugin/ GroupContentEnablerManager.php - Creates a new access control handler instance.
File
- src/
Plugin/ GroupContentEnablerManagerInterface.php, line 88
Class
- GroupContentEnablerManagerInterface
- Provides a common interface for group content enabler managers.
Namespace
Drupal\group\PluginCode
public function getAccessControlHandler($plugin_id);