public function TestAccessCheck::access in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php \Drupal\router_test\Access\TestAccessCheck::access()
Checks access.
Return value
string A \Drupal\Core\Access\AccessInterface constant value.
File
- core/
modules/ system/ tests/ modules/ router_test_directory/ src/ Access/ TestAccessCheck.php, line 24 - Contains \Drupal\router_test\Access\TestAccessCheck.
Class
- TestAccessCheck
- Access check for test routes.
Namespace
Drupal\router_test\AccessCode
public function access() {
// No opinion, so other access checks should decide if access should be
// allowed or not.
return AccessResult::neutral();
}