You are here

public function PrintableFormatBase::getLabel in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x src/Plugin/PrintableFormatBase.php \Drupal\printable\Plugin\PrintableFormatBase::getLabel()

Returns the administrative label for this format plugin.

Return value

string The label of plugin.

Overrides PrintableFormatInterface::getLabel

File

src/Plugin/PrintableFormatBase.php, line 94

Class

PrintableFormatBase
Provides a base class for Filter plugins.

Namespace

Drupal\printable\Plugin

Code

public function getLabel() {
  return $this->pluginDefinition['title'];
}