You are here

public function AccessCheckerInterface::isAccessControlled in Permissions by Term 8.2

Checks if the given entity uses terms with access restrictions.

Parameters

\Drupal\Core\Entity\FieldableEntityInterface $entity: A fieldable entity.

Return value

bool TRUE if entity is access controlled. FALSE if entity has no access restrictions.

1 method overrides AccessCheckerInterface::isAccessControlled()
AccessChecker::isAccessControlled in modules/permissions_by_entity/src/Service/AccessChecker.php
Checks if the given entity uses terms with access restrictions.

File

modules/permissions_by_entity/src/Service/AccessCheckerInterface.php, line 37

Class

AccessCheckerInterface
Interface AccessCheckerInterface.

Namespace

Drupal\permissions_by_entity\Service

Code

public function isAccessControlled(FieldableEntityInterface $entity);