You are here

public function PdfGeneratorBase::getId in PDF generator API 8

Same name and namespace in other branches
  1. 2.x src/Plugin/PdfGeneratorBase.php \Drupal\pdf_api\Plugin\PdfGeneratorBase::getId()

Returns the administrative id for this generator plugin.

Return value

string The id of the plugin.

Overrides PdfGeneratorInterface::getId

File

src/Plugin/PdfGeneratorBase.php, line 31
Contains \Drupal\printable\Plugin\PrintableFormatBase.

Class

PdfGeneratorBase
Provides a base class for PDF generator plugins.

Namespace

Drupal\pdf_api\Plugin

Code

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