public function PrintableEntityManagerInterface::isPrintableEntity in Printer and PDF versions for Drupal 8+ 8
Same name and namespace in other branches
- 2.x src/PrintableEntityManagerInterface.php \Drupal\printable\PrintableEntityManagerInterface::isPrintableEntity()
Check if an entity has a printable version available for it.
Parameters
Drupal\Core\Entity\EntityInterface $entity: The entity to check a printable version is available for.
Return value
bool TRUE if the entity has a printable version available, FALSE if not.
1 method overrides PrintableEntityManagerInterface::isPrintableEntity()
- PrintableEntityManager::isPrintableEntity in src/
PrintableEntityManager.php - Check if an entity has a printable version available for it.
File
- src/
PrintableEntityManagerInterface.php, line 40
Class
- PrintableEntityManagerInterface
- Entity manager interface for the printable module.
Namespace
Drupal\printableCode
public function isPrintableEntity(EntityInterface $entity);