public function GroupTypeInterface::hasContentPlugin in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/GroupTypeInterface.php \Drupal\group\Entity\GroupTypeInterface::hasContentPlugin()
Checks whether a group relation plugin is installed for this group type.
Parameters
string $plugin_id: The ID of the group relation plugin to check for.
Return value
bool Whether the group relation plugin is installed.
1 method overrides GroupTypeInterface::hasContentPlugin()
- GroupType::hasContentPlugin in src/
Entity/ GroupType.php - Checks whether a group relation plugin is installed for this group type.
File
- src/
Entity/ GroupTypeInterface.php, line 144
Class
- GroupTypeInterface
- Provides an interface defining a group type entity.
Namespace
Drupal\group\EntityCode
public function hasContentPlugin($plugin_id);