interface QuickEditEntityFieldAccessCheckInterface in Drupal 9
Same name and namespace in other branches
- 8 core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php \Drupal\quickedit\Access\QuickEditEntityFieldAccessCheckInterface
Access check for in-place editing entity fields.
Hierarchy
- interface \Drupal\quickedit\Access\QuickEditEntityFieldAccessCheckInterface
Expanded class hierarchy of QuickEditEntityFieldAccessCheckInterface
All classes that implement QuickEditEntityFieldAccessCheckInterface
2 files declare their use of QuickEditEntityFieldAccessCheckInterface
- MetadataGenerator.php in core/
modules/ quickedit/ src/ MetadataGenerator.php - MockQuickEditEntityFieldAccessCheck.php in core/
modules/ quickedit/ tests/ modules/ src/ MockQuickEditEntityFieldAccessCheck.php
File
- core/
modules/ quickedit/ src/ Access/ QuickEditEntityFieldAccessCheckInterface.php, line 10
Namespace
Drupal\quickedit\AccessView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QuickEditEntityFieldAccessCheckInterface:: |
public | function | Checks access to edit the requested field of the requested entity. | 2 |