AccessResultInterface::isAllowed

public AccessResultInterface::isAllowed()

Checks whether this access result indicates access is explicitly allowed.

Return value

bool When TRUE then isForbidden() and isNeutral() are FALSE.

File

core/lib/Drupal/Core/Access/AccessResultInterface.php, line 29

Class

AccessResultInterface
Interface for access result value objects.

Namespace

Drupal\Core\Access

Code

public function isAllowed();
doc_Drupal
2016-10-29 08:42:35
Comments
Leave a Comment

Please login to continue.