function _group_relation_manager in Group 2.0.x
Gets the group relation plugin manager.
@internal Try to properly inject the service when possible.
Return value
\Drupal\group\Plugin\Group\Relation\GroupRelationManagerInterface The group relation plugin manager.
File
- ./
group.module, line 706 - Allows you to group users, content and other entities.
Code
function _group_relation_manager() {
return \Drupal::service('plugin.manager.group_relation');
}