You are here

public function WebformSubmissionStorageInterface::checkFieldDefinitionAccess in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 76

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

public function checkFieldDefinitionAccess(WebformInterface $webform, array $definitions);