PrintableLinkBuilderInterface.php in Printer and PDF versions for Drupal 8+ 8
Same filename and directory in other branches
Namespace
Drupal\printableFile
src/PrintableLinkBuilderInterface.phpView source
<?php
namespace Drupal\printable;
use Drupal\Core\Entity\EntityInterface;
/**
* Interface for building the printable links.
*/
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);
}
Interfaces
Name | Description |
---|---|
PrintableLinkBuilderInterface | Interface for building the printable links. |