public function GroupRoleStorageInterface::createSynchronized in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Storage/GroupRoleStorageInterface.php \Drupal\group\Entity\Storage\GroupRoleStorageInterface::createSynchronized()
Creates group roles for all user roles.
Parameters
string[] $group_type_ids: (optional) A list of group type IDs to synchronize roles for. Leave empty to synchronize roles for all group types.
string[] $role_ids: (optional) A list of user role IDs to synchronize. Leave empty to synchronize all user roles.
1 method overrides GroupRoleStorageInterface::createSynchronized()
- GroupRoleStorage::createSynchronized in src/
Entity/ Storage/ GroupRoleStorage.php - Creates group roles for all user roles.
File
- src/
Entity/ Storage/ GroupRoleStorageInterface.php, line 75
Class
- GroupRoleStorageInterface
- Defines an interface for group role entity storage classes.
Namespace
Drupal\group\Entity\StorageCode
public function createSynchronized($group_type_ids = NULL, $role_ids = NULL);