public function EditableFieldsHelperInterface::checkAccess in Editable Fields 1.0.x
Same name and namespace in other branches
- 8 src/services/EditableFieldsHelperInterface.php \Drupal\editablefields\services\EditableFieldsHelperInterface::checkAccess()
Checks if the user can use "editablefields" formatter.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: Entity object.
Return value
bool TRUE if the user can use "editablefields" formatret.
1 method overrides EditableFieldsHelperInterface::checkAccess()
- EditableFieldsHelper::checkAccess in src/
services/ EditableFieldsHelper.php - Checks if the user can use "editablefields" formatter.
File
- src/
services/ EditableFieldsHelperInterface.php, line 63
Class
- EditableFieldsHelperInterface
- Interface EditableFieldsHelperInterface.
Namespace
Drupal\editablefields\servicesCode
public function checkAccess(EntityInterface $entity);