You are here

interface PrintableLinkBuilderInterface in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x src/PrintableLinkBuilderInterface.php \Drupal\printable\PrintableLinkBuilderInterface

Interface for building the printable links.

Hierarchy

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\printable
View 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

Namesort descending Modifiers Type Description Overrides
PrintableLinkBuilderInterface::buildLinks public function Build a render array of the printable links for a given entity. 1