public function QuickEditEntityFieldAccessCheckInterface::accessEditEntityField in Drupal 10
Same name and namespace in other branches
- 8 core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php \Drupal\quickedit\Access\QuickEditEntityFieldAccessCheckInterface::accessEditEntityField()
- 9 core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php \Drupal\quickedit\Access\QuickEditEntityFieldAccessCheckInterface::accessEditEntityField()
Checks access to edit the requested field of the requested entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity.
string $field_name: The field name.
Return value
\Drupal\Core\Access\AccessResultInterface The access result.
1 method overrides QuickEditEntityFieldAccessCheckInterface::accessEditEntityField()
- QuickEditEntityFieldAccessCheck::accessEditEntityField in core/
modules/ quickedit/ src/ Access/ QuickEditEntityFieldAccessCheck.php - Checks access to edit the requested field of the requested entity.
File
- core/
modules/ quickedit/ src/ Access/ QuickEditEntityFieldAccessCheckInterface.php, line 23
Class
- QuickEditEntityFieldAccessCheckInterface
- Access check for in-place editing entity fields.
Namespace
Drupal\quickedit\AccessCode
public function accessEditEntityField(EntityInterface $entity, $field_name);