public function WebformAccessRulesManagerInterface::checkWebformAccess in Webform 8.5
Same name and namespace in other branches
- 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\webformCode
public function checkWebformAccess($operation, AccountInterface $account, WebformInterface $webform);