public function PrintableLinkBuilderInterface::buildLinks in Printer and PDF versions for Drupal 8+ 8
Same name and namespace in other branches
- 2.x src/PrintableLinkBuilderInterface.php \Drupal\printable\PrintableLinkBuilderInterface::buildLinks()
Build a render array of the printable links for a given entity.
Parameters
Drupal\Core\Entity\EntityInterface $entity: The entity to build the printable links for.
Return value
array The render array of printable links for the passed in entity.
1 method overrides PrintableLinkBuilderInterface::buildLinks()
- PrintableLinkBuilder::buildLinks in src/
PrintableLinkBuilder.php - Build a render array of the printable links for a given entity.
File
- src/
PrintableLinkBuilderInterface.php, line 21
Class
- PrintableLinkBuilderInterface
- Interface for building the printable links.
Namespace
Drupal\printableCode
public function buildLinks(EntityInterface $entity = NULL);