function AccessResultInterface::isNeutral
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Access/AccessResultInterface.php \Drupal\Core\Access\AccessResultInterface::isNeutral()
- 10 core/lib/Drupal/Core/Access/AccessResultInterface.php \Drupal\Core\Access\AccessResultInterface::isNeutral()
- 11.x core/lib/Drupal/Core/Access/AccessResultInterface.php \Drupal\Core\Access\AccessResultInterface::isNeutral()
Checks whether this access result indicates access is not yet determined.
@internal
Return value
bool When TRUE then isAllowed() and isForbidden() are FALSE.
2 methods override AccessResultInterface::isNeutral()
- AccessResult::isNeutral in core/
lib/ Drupal/ Core/ Access/ AccessResult.php - UncacheableTestAccessResult::isNeutral in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - Checks whether this access result indicates access is not yet determined.
File
-
core/
lib/ Drupal/ Core/ Access/ AccessResultInterface.php, line 58
Class
- AccessResultInterface
- Interface for access result value objects.
Namespace
Drupal\Core\AccessCode
public function isNeutral();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.