public function TeamPermissionHandler::getPermissions in Apigee Edge 8
Gets all available team permissions.
Return value
\Drupal\apigee_edge_teams\Structure\TeamPermission[] Array of team permissions.
Overrides TeamPermissionHandlerInterface::getPermissions
File
- modules/
apigee_edge_teams/ src/ TeamPermissionHandler.php, line 137
Class
- TeamPermissionHandler
- Provides the available team permissions based on yml files.
Namespace
Drupal\apigee_edge_teamsCode
public function getPermissions() : array {
$all_permissions = $this
->buildPermissionsYaml();
return $this
->sortPermissions($all_permissions);
}