Mercurial > hg > cmmr2012-drupal-site
view core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
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); }