You are here

public function AlignableHeaderFooterInterface::setFooterText in Entity Print 8.2

Sets the footer text.

Parameters

string $text: The plain text to add to the footer.

string $alignment: One of the align constants.

Return value

$this The pdf engine.

1 method overrides AlignableHeaderFooterInterface::setFooterText()
PhpWkhtmlToPdf::setFooterText in src/Plugin/EntityPrint/PrintEngine/PhpWkhtmlToPdf.php
Sets the footer text.

File

src/Plugin/EntityPrint/PrintEngine/AlignableHeaderFooterInterface.php, line 49

Class

AlignableHeaderFooterInterface
An interface for print engines that support a header and footer.

Namespace

Drupal\entity_print\Plugin\EntityPrint\PrintEngine

Code

public function setFooterText($text, $alignment);