QuickEditEntityFieldAccessCheckInterface.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\quickedit\AccessFile
core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.phpView 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);
}
Interfaces
Name | Description |
---|---|
QuickEditEntityFieldAccessCheckInterface | Access check for in-place editing entity fields. |