public function WebformAccessRulesManagerInterface::checkAccessRules in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformAccessRulesManagerInterface.php \Drupal\webform\WebformAccessRulesManagerInterface::checkAccessRules()
Check access for a given operation and set of access rules.
Parameters
string $operation: Operation that is being requested.
\Drupal\Core\Session\AccountInterface $account: Account that is requesting access to the operation.
array $access_rules: A set of access rules to check against.
Return value
bool TRUE if access is allowed and FALSE is access is denied.
1 method overrides WebformAccessRulesManagerInterface::checkAccessRules()
- WebformAccessRulesManager::checkAccessRules in src/
WebformAccessRulesManager.php - Check access for a given operation and set of access rules.
File
- src/
WebformAccessRulesManagerInterface.php, line 88
Class
- WebformAccessRulesManagerInterface
- Interface of webform access rules manager.
Namespace
Drupal\webformCode
public function checkAccessRules($operation, AccountInterface $account, array $access_rules);