interface ManagedRolePermissionsInterface in farmOS 2.x
Provides an interface for defining ManagedRolePermissions plugins.
Hierarchy
- interface \Drupal\farm_role\ManagedRolePermissionsInterface
Expanded class hierarchy of ManagedRolePermissionsInterface
All classes that implement ManagedRolePermissionsInterface
File
- modules/
core/ role/ src/ ManagedRolePermissionsInterface.php, line 10
Namespace
Drupal\farm_roleView source
interface ManagedRolePermissionsInterface {
/**
* Returns the default permissions.
*
* @return array
* Array of permission strings.
*/
public function getDefaultPermissions();
/**
* Returns the config permissions.
*
* @return array
* Array of permission strings.
*/
public function getConfigPermissions();
/**
* Returns permission callback strings.
*
* @return array
* Array of function callbacks in controller syntax, see
* \Drupal\Core\Controller\ControllerResolver
*/
public function getPermissionCallbacks();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ManagedRolePermissionsInterface:: |
public | function | Returns the config permissions. | 1 |
ManagedRolePermissionsInterface:: |
public | function | Returns the default permissions. | 1 |
ManagedRolePermissionsInterface:: |
public | function | Returns permission callback strings. | 1 |