public function WebformSubmissionStorageInterface::checkFieldDefinitionAccess in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::checkFieldDefinitionAccess()
Check field definition access.
Access checks include…
- Only allowing user who can update any access to the 'token' field.
Parameters
\Drupal\webform\WebformInterface $webform: The webform to check field definition access.
array $definitions: Field definitions.
Return value
array Field definitions with access checked.
1 method overrides WebformSubmissionStorageInterface::checkFieldDefinitionAccess()
- WebformSubmissionStorage::checkFieldDefinitionAccess in src/
WebformSubmissionStorage.php - Check field definition access.
File
- src/
WebformSubmissionStorageInterface.php, line 77
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function checkFieldDefinitionAccess(WebformInterface $webform, array $definitions);