You are here

public function AccessResultAllowed::isAllowed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 18
Contains \Drupal\Core\Access\AccessResultAllowed.

Class

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

Namespace

Drupal\Core\Access

Code

public function isAllowed() {
  return TRUE;
}