public function PrintableEntityManagerInterface::getEntityName in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 src/PrintableEntityManagerInterface.php \Drupal\printable\PrintableEntityManagerInterface::getEntityName()
Gets the ID of the type of the entity.
Parameters
Drupal\Core\Entity\EntityInterface $entity: The entity to check a printable version is available for.
Return value
string The entity type ID.
1 method overrides PrintableEntityManagerInterface::getEntityName()
- PrintableEntityManager::getEntityName in src/
PrintableEntityManager.php - Gets the ID of the type of the entity.
File
- src/
PrintableEntityManagerInterface.php, line 21
Class
- PrintableEntityManagerInterface
- Entity manager interface for the printable module.
Namespace
Drupal\printableCode
public function getEntityName(EntityInterface $entity);