You are here

public function GroupRelationManagerInterface::getAll in Group 2.0.x

Returns a plugin collection of all available group relations.

This collection will not have anything set in the individual plugins' configuration. Do not use any methods on the plugin that require a group type to be set or you may encounter unexpected behavior. Instead, use ::getInstalled() while providing a group type argument to get fully configured instances of the plugins.

Return value

\Drupal\group\Plugin\Group\Relation\GroupRelationCollection A plugin collection with a vanilla instance of every known plugin.

1 method overrides GroupRelationManagerInterface::getAll()
GroupRelationManager::getAll in src/Plugin/Group/Relation/GroupRelationManager.php
Returns a plugin collection of all available group relations.

File

src/Plugin/Group/Relation/GroupRelationManagerInterface.php, line 116

Class

GroupRelationManagerInterface
Provides a common interface for group relation managers.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function getAll();