class TestController

Hierarchy

Expanded class hierarchy of TestController

File

core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php, line 135

Namespace

Drupal\Tests\Core\Access
View source
class TestController {
  public function accessAllow() {
    return AccessResult::allowed();
  }
  public function accessDeny() {
    return AccessResult::neutral();
  }
  public function accessParameter($parameter) {
    return AccessResult::allowedIf($parameter == 'TRUE');
  }

}

Members

Title Sort descending Modifiers Object type Summary
TestController::accessAllow public function
TestController::accessDeny public function
TestController::accessParameter public function

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