Mercurial > hg > isophonics-drupal-site
view core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\quickedit\Access; use Drupal\Core\Entity\EntityInterface; /** * Access check for in-place editing entity fields. */ interface QuickEditEntityFieldAccessCheckInterface { /** * 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); }