function AccessResultAllowed::isAllowed

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Access/AccessResultAllowed.php \Drupal\Core\Access\AccessResultAllowed::isAllowed()
  2. 10 core/lib/Drupal/Core/Access/AccessResultAllowed.php \Drupal\Core\Access\AccessResultAllowed::isAllowed()
  3. 11.x 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.