public function AccessResultAllowed::isAllowed

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Access!AccessResultAllowed.php/function/AccessResultAllowed::isAllowed/8.1.x