3 namespace Drupal\quickedit\Access;
5 use Drupal\Core\Entity\EntityInterface;
8 * Access check for editing entity fields.
10 interface EditEntityFieldAccessCheckInterface {
13 * Checks access to edit the requested field of the requested entity.
15 * @param \Drupal\Core\Entity\EntityInterface $entity
17 * @param string $field_name
20 * @return \Drupal\Core\Access\AccessResultInterface
23 public function accessEditEntityField(EntityInterface $entity, $field_name);