public function WebformAccessRulesManagerInterface::checkWebformSubmissionAccess in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformAccessRulesManagerInterface.php \Drupal\webform\WebformAccessRulesManagerInterface::checkWebformSubmissionAccess()
Check if operation is allowed through access rules for a submission.
Parameters
string $operation: Operation to check.
\Drupal\Core\Session\AccountInterface $account: Account who is requesting the operation.
\Drupal\webform\WebformSubmissionInterface $webform_submission: Webform submission on which the operation is requested.
Return value
\Drupal\Core\Access\AccessResultInterface Access result.
1 method overrides WebformAccessRulesManagerInterface::checkWebformSubmissionAccess()
- WebformAccessRulesManager::checkWebformSubmissionAccess in src/
WebformAccessRulesManager.php - Check if operation is allowed through access rules for a submission.
File
- src/
WebformAccessRulesManagerInterface.php, line 40
Class
- WebformAccessRulesManagerInterface
- Interface of webform access rules manager.
Namespace
Drupal\webformCode
public function checkWebformSubmissionAccess($operation, AccountInterface $account, WebformSubmissionInterface $webform_submission);