interface PrintableLinkBuilderInterface in Printer and PDF versions for Drupal 8+ 8
Same name and namespace in other branches
- 2.x src/PrintableLinkBuilderInterface.php \Drupal\printable\PrintableLinkBuilderInterface
Interface for building the printable links.
Hierarchy
- interface \Drupal\printable\PrintableLinkBuilderInterface
Expanded class hierarchy of PrintableLinkBuilderInterface
All classes that implement PrintableLinkBuilderInterface
1 file declares its use of PrintableLinkBuilderInterface
- PrintableLinksBlock.php in src/
Plugin/ Block/ PrintableLinksBlock.php
File
- src/
PrintableLinkBuilderInterface.php, line 10
Namespace
Drupal\printableView source
interface PrintableLinkBuilderInterface {
/**
* Build a render array of the printable links for a given entity.
*
* @param Drupal\Core\Entity\EntityInterface $entity
* The entity to build the printable links for.
*
* @return array
* The render array of printable links for the passed in entity.
*/
public function buildLinks(EntityInterface $entity = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrintableLinkBuilderInterface:: |
public | function | Build a render array of the printable links for a given entity. | 1 |