You are here

public function WebformAccessRulesManagerInterface::checkWebformAccess in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformAccessRulesManagerInterface.php \Drupal\webform\WebformAccessRulesManagerInterface::checkWebformAccess()

Check if operation is allowed through access rules for a given webform.

Parameters

string $operation: Operation to check.

\Drupal\Core\Session\AccountInterface $account: Account who is requesting the operation.

\Drupal\webform\WebformInterface $webform: Webform on which the operation is requested.

Return value

\Drupal\Core\Access\AccessResultInterface Access result.

1 method overrides WebformAccessRulesManagerInterface::checkWebformAccess()
WebformAccessRulesManager::checkWebformAccess in src/WebformAccessRulesManager.php
Check if operation is allowed through access rules for a given webform.

File

src/WebformAccessRulesManagerInterface.php, line 25

Class

WebformAccessRulesManagerInterface
Interface of webform access rules manager.

Namespace

Drupal\webform

Code

public function checkWebformAccess($operation, AccountInterface $account, WebformInterface $webform);