public function ManagedRolePermissions::getDefaultPermissions in farmOS 2.x
Returns the default permissions.
Return value
array Array of permission strings.
Overrides ManagedRolePermissionsInterface::getDefaultPermissions
File
- modules/
core/ role/ src/ ManagedRolePermissions.php, line 17
Class
- ManagedRolePermissions
- Default class for the ManagedRolePermissions plugin.
Namespace
Drupal\farm_roleCode
public function getDefaultPermissions() {
return (array) $this->pluginDefinition['default_permissions'];
}