W3cubDocs

/Drupal 8

public function AccessResultInterface::isNeutral

public AccessResultInterface::isNeutral()

Checks whether this access result indicates access is not yet determined.

Return value

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

File

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

Class

AccessResultInterface
Interface for access result value objects.

Namespace

Drupal\Core\Access

Code

public function isNeutral();

© 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!AccessResultInterface.php/function/AccessResultInterface::isNeutral/8.1.x