You are here

function _group_role_synchronizer in Group 8

Same name and namespace in other branches
  1. 2.0.x group.module \_group_role_synchronizer()

Gets the group role synchronizer service.

@internal Try to properly inject the service when possible.

Return value

\Drupal\group\GroupRoleSynchronizerInterface The group role synchronizer service.

File

./group.module, line 728
Allows you to group users, content and other entities.

Code

function _group_role_synchronizer() {
  return \Drupal::service('group_role.synchronizer');
}