You are here

PrintableLinkBuilderInterface.php in Printer and PDF versions for Drupal 8+ 8

Same filename and directory in other branches
  1. 2.x src/PrintableLinkBuilderInterface.php

Namespace

Drupal\printable

File

src/PrintableLinkBuilderInterface.php
View 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

Namesort descending Description
PrintableLinkBuilderInterface Interface for building the printable links.