You are here

interface EditEntityFieldAccessCheckInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/quickedit/src/Access/EditEntityFieldAccessCheckInterface.php \Drupal\quickedit\Access\EditEntityFieldAccessCheckInterface

Access check for editing entity fields.

Hierarchy

Expanded class hierarchy of EditEntityFieldAccessCheckInterface

All classes that implement EditEntityFieldAccessCheckInterface

2 files declare their use of EditEntityFieldAccessCheckInterface
MetadataGenerator.php in core/modules/quickedit/src/MetadataGenerator.php
Contains \Drupal\quickedit\MetadataGenerator.
MockEditEntityFieldAccessCheck.php in core/modules/quickedit/tests/modules/src/MockEditEntityFieldAccessCheck.php
Contains \Drupal\quickedit_test\MockEditEntityFieldAccessCheck.

File

core/modules/quickedit/src/Access/EditEntityFieldAccessCheckInterface.php, line 15
Contains \Drupal\quickedit\Access\EditEntityFieldAccessCheckInterface.

Namespace

Drupal\quickedit\Access
View source
interface EditEntityFieldAccessCheckInterface {

  /**
   * Checks access to edit the requested field of the requested entity.
   *
   * @param \Drupal\Core\Entity\EntityInterface $entity
   *   The entity.
   * @param string $field_name
   *   The field name.
   *
   * @return \Drupal\Core\Access\AccessResultInterface
   *   The access result.
   */
  public function accessEditEntityField(EntityInterface $entity, $field_name);

}

Members

Namesort descending Modifiers Type Description Overrides
EditEntityFieldAccessCheckInterface::accessEditEntityField public function Checks access to edit the requested field of the requested entity. 2