public function TestController::accessParameter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php \Drupal\Tests\Core\Access\TestController::accessParameter()
File
- core/
tests/ Drupal/ Tests/ Core/ Access/ CustomAccessCheckTest.php, line 121 - Contains \Drupal\Tests\Core\Access\CustomAccessCheckTest.
Class
Namespace
Drupal\Tests\Core\AccessCode
public function accessParameter($parameter) {
return AccessResult::allowedIf($parameter == 'TRUE');
}