public function LTIToolProviderController::access in LTI Tool Provider 8
Same name and namespace in other branches
- 2.x src/Controller/LTIToolProviderController.php \Drupal\lti_tool_provider\Controller\LTIToolProviderController::access()
Checks access for LTI routes.
Return value
AccessResult The access result.
1 string reference to 'LTIToolProviderController::access'
File
- src/
Controller/ LTIToolProviderController.php, line 256
Class
- LTIToolProviderController
- Returns responses for lti_tool_provider module routes.
Namespace
Drupal\lti_tool_provider\ControllerCode
public function access() : AccessResult {
return AccessResult::allowedIf(!empty($this->context));
}