You are here

public function GroupContentEnablerManagerInterface::hasHandler in Group 8

Checks whether a certain plugin has a certain handler.

Parameters

string $plugin_id: The plugin ID for this handler.

string $handler_type: The name of the handler.

Return value

bool Returns TRUE if the plugin has the handler, else FALSE.

1 method overrides GroupContentEnablerManagerInterface::hasHandler()
GroupContentEnablerManager::hasHandler in src/Plugin/GroupContentEnablerManager.php
Checks whether a certain plugin has a certain handler.

File

src/Plugin/GroupContentEnablerManagerInterface.php, line 26

Class

GroupContentEnablerManagerInterface
Provides a common interface for group content enabler managers.

Namespace

Drupal\group\Plugin

Code

public function hasHandler($plugin_id, $handler_type);