function TestController::accessParameter
File
-
core/
tests/ Drupal/ Tests/ Core/ Access/ CustomAccessCheckTest.php, line 152
Class
Namespace
Drupal\Tests\Core\AccessCode
public function accessParameter($parameter) {
return AccessResult::allowedIf($parameter == 'TRUE');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.