public function TestController::accessParameter in Drupal 8
File
- core/
tests/ Drupal/ Tests/ Core/ Access/ CustomAccessCheckTest.php, line 155 - Contains \Drupal\Tests\Core\Access\CustomAccessCheckTest.
Class
Namespace
Drupal\Tests\Core\AccessCode
public function accessParameter($parameter) {
return AccessResult::allowedIf($parameter == 'TRUE');
}