You are here

function _group_role_synchronizer in Group 2.0.x

Same name and namespace in other branches
  1. 8 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 718
Allows you to group users, content and other entities.

Code

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