function QuickEditEntityFieldAccessCheckInterface::accessEditEntityField
Same name in other branches
- 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.
2 methods override QuickEditEntityFieldAccessCheckInterface::accessEditEntityField()
- MockQuickEditEntityFieldAccessCheck::accessEditEntityField in core/
modules/ quickedit/ tests/ modules/ src/ MockQuickEditEntityFieldAccessCheck.php - Checks access to edit the requested field of the requested entity.
- 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.