You are here

public function GroupRoleStorageInterface::createInternal in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Storage/GroupRoleStorageInterface.php \Drupal\group\Entity\Storage\GroupRoleStorageInterface::createInternal()

Creates internal group roles for group types.

Internal group roles are the bare minimum group roles that a group type needs to function properly, such as the Member group role.

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.

1 method overrides GroupRoleStorageInterface::createInternal()
GroupRoleStorage::createInternal in src/Entity/Storage/GroupRoleStorage.php
Creates internal group roles for group types.

File

src/Entity/Storage/GroupRoleStorageInterface.php, line 63

Class

GroupRoleStorageInterface
Defines an interface for group role entity storage classes.

Namespace

Drupal\group\Entity\Storage

Code

public function createInternal($group_type_ids = NULL);