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\ServiceCode
public function isAccessControlled(FieldableEntityInterface $entity);