public EditEntityFieldAccessCheckInterface::accessEditEntityField(EntityInterface $entity, $field_name)
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.
File
- core/modules/quickedit/src/Access/EditEntityFieldAccessCheckInterface.php, line 23
Class
- EditEntityFieldAccessCheckInterface
- Access check for editing entity fields.
Namespace
Drupal\quickedit\Access
Code
public function accessEditEntityField(EntityInterface $entity, $field_name);
Please login to continue.