function AccessResultAllowed::isAllowed

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

Overrides AccessResult::isAllowed

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.