function UncacheableTestAccessResult::isNeutral

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

@internal

Return value

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

Overrides AccessResultInterface::isNeutral

File

core/tests/Drupal/Tests/Core/Access/AccessResultTest.php, line 1009

Class

UncacheableTestAccessResult

Namespace

Drupal\Tests\Core\Access

Code

public function isNeutral() {
  return $this->value === 'NEUTRAL';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.