The function `allowed` in Drupal's `AccessResult` class is a method that determines whether the requested access is allowed or not. It evaluates the conditions specified in the access result and returns a boolean value indicating whether the access is allowed or not. This method is commonly used in Drupal's access control system to enforce permissions and restrictions for different user roles and permissions.
PHP Drupal\Core\Access AccessResult::allowed - 30 examples found. These are the top rated real world PHP examples of Drupal\Core\Access\AccessResult::allowed extracted from open source projects. You can rate examples to help us improve the quality of examples.