function UncacheableTestAccessResult::isNeutral

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Access/AccessResultTest.php \Drupal\Tests\Core\Access\UncacheableTestAccessResult::isNeutral()
  2. 10 core/tests/Drupal/Tests/Core/Access/AccessResultTest.php \Drupal\Tests\Core\Access\UncacheableTestAccessResult::isNeutral()
  3. 11.x core/tests/Drupal/Tests/Core/Access/AccessResultTest.php \Drupal\Tests\Core\Access\UncacheableTestAccessResult::isNeutral()

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.