You are here

public function EditableFieldsHelperInterface::checkAccess in Editable Fields 8

Same name and namespace in other branches
  1. 1.0.x 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\services

Code

public function checkAccess(EntityInterface $entity);