public function ManagedRolePermissionsManagerInterface::isManagedRole in farmOS 2.x
Checks if the role is a managed role.
Parameters
\Drupal\user\RoleInterface $role: The Role to check.
Return value
bool If the role is a managed role.
1 method overrides ManagedRolePermissionsManagerInterface::isManagedRole()
- ManagedRolePermissionsManager::isManagedRole in modules/
core/ role/ src/ ManagedRolePermissionsManager.php - Checks if the role is a managed role.
File
- modules/
core/ role/ src/ ManagedRolePermissionsManagerInterface.php, line 31
Class
- ManagedRolePermissionsManagerInterface
- Interface for the ManagedRolePermissionsManager.
Namespace
Drupal\farm_roleCode
public function isManagedRole(RoleInterface $role);