public function PdfGeneratorBase::getLabel in PDF generator API 8
Same name and namespace in other branches
- 2.x src/Plugin/PdfGeneratorBase.php \Drupal\pdf_api\Plugin\PdfGeneratorBase::getLabel()
Returns the administrative label for this generator plugin.
Return value
string The label of the plugin.
Overrides PdfGeneratorInterface::getLabel
File
- src/
Plugin/ PdfGeneratorBase.php, line 38 - Contains \Drupal\printable\Plugin\PrintableFormatBase.
Class
- PdfGeneratorBase
- Provides a base class for PDF generator plugins.
Namespace
Drupal\pdf_api\PluginCode
public function getLabel() {
return $this->pluginDefinition['title'];
}