You are here

public function WebhookController::access in Webhooks 8

Access check callback.

Parameters

\Drupal\Core\Session\AccountInterface $account: The current account.

Return value

\Drupal\Core\Access\AccessResult A successful access result.

1 string reference to 'WebhookController::access'
webhooks.routing.yml in ./webhooks.routing.yml
webhooks.routing.yml

File

src/Controller/WebhookController.php, line 147

Class

WebhookController
Class Webhook.

Namespace

Drupal\webhooks\Controller

Code

public function access(AccountInterface $account) {
  return AccessResult::allowed();
}