You are here

public function LTIToolProviderController::access in LTI Tool Provider 8

Same name and namespace in other branches
  1. 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'
lti_tool_provider.routing.yml in ./lti_tool_provider.routing.yml
lti_tool_provider.routing.yml

File

src/Controller/LTIToolProviderController.php, line 256

Class

LTIToolProviderController
Returns responses for lti_tool_provider module routes.

Namespace

Drupal\lti_tool_provider\Controller

Code

public function access() : AccessResult {
  return AccessResult::allowedIf(!empty($this->context));
}