You are here

public function ManagedRolePermissions::getPermissionCallbacks in farmOS 2.x

Returns permission callback strings.

Return value

array Array of function callbacks in controller syntax, see \Drupal\Core\Controller\ControllerResolver

Overrides ManagedRolePermissionsInterface::getPermissionCallbacks

File

modules/core/role/src/ManagedRolePermissions.php, line 31

Class

ManagedRolePermissions
Default class for the ManagedRolePermissions plugin.

Namespace

Drupal\farm_role

Code

public function getPermissionCallbacks() {
  return (array) $this->pluginDefinition['permission_callbacks'];
}