public function GroupRelationManagerInterface::getInstalled in Group 2.0.x
Returns a plugin collection of all installed group relations.
Warning: When called without a $group_type argument, this will return a collection of vanilla plugin instances. See ::getAll() for details about vanilla instances.
Parameters
\Drupal\group\Entity\GroupTypeInterface $group_type: (optional) The group type to retrieve installed plugin for.
Return value
\Drupal\group\Plugin\Group\Relation\GroupRelationCollection A plugin collection with a vanilla instance of every installed plugin. If $group_type was provided, the collection will contain fully instantiated plugins for the provided group type.
1 method overrides GroupRelationManagerInterface::getInstalled()
- GroupRelationManager::getInstalled in src/
Plugin/ Group/ Relation/ GroupRelationManager.php - Returns a plugin collection of all installed group relations.
File
- src/
Plugin/ Group/ Relation/ GroupRelationManagerInterface.php, line 133
Class
- GroupRelationManagerInterface
- Provides a common interface for group relation managers.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getInstalled(GroupTypeInterface $group_type = NULL);