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'
File
- src/
Controller/ WebhookController.php, line 147
Class
- WebhookController
- Class Webhook.
Namespace
Drupal\webhooks\ControllerCode
public function access(AccountInterface $account) {
return AccessResult::allowed();
}