public function GroupRelationManager::getPostInstallHandler in Group 2.0.x
Creates a new post install handler instance.
Parameters
string $plugin_id: The plugin ID for this post install handler.
Return value
\Drupal\group\Plugin\Group\RelationHandler\PostInstallInterface A post install handler instance.
Throws
\Drupal\Component\Plugin\Exception\PluginNotFoundException Thrown if the plugin doesn't exist.
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Thrown if the permission provider couldn't be loaded.
Overrides GroupRelationManagerInterface::getPostInstallHandler
File
- src/
Plugin/ Group/ Relation/ GroupRelationManager.php, line 167
Class
- GroupRelationManager
- Manages GroupRelation plugin implementations.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getPostInstallHandler($plugin_id) {
return $this
->getHandler($plugin_id, 'post_install');
}