Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Access/AccessResultAllowed.php \Drupal\Core\Access\AccessResultAllowed::isAllowed()
  2. 9 core/lib/Drupal/Core/Access/AccessResultAllowed.php \Drupal\Core\Access\AccessResultAllowed::isAllowed()

Overrides AccessResult::isAllowed

See also

\Drupal\Core\Access\AccessResultAllowed

File

core/lib/Drupal/Core/Access/AccessResultAllowed.php, line 13

Class

AccessResultAllowed
Value object indicating an allowed access result, with cacheability metadata.

Namespace

Drupal\Core\Access

Code

public function isAllowed() {
  return TRUE;
}