public function FillPdfSaveAction::__construct in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Plugin/FillPdfActionPlugin/FillPdfSaveAction.php \Drupal\fillpdf\Plugin\FillPdfActionPlugin\FillPdfSaveAction::__construct()
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
\Drupal\fillpdf\OutputHandler $output_handler: The FillPdf output handler.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
File
- src/
Plugin/ FillPdfActionPlugin/ FillPdfSaveAction.php, line 42
Class
- FillPdfSaveAction
- Action plugin saving a generated PDF file to the filesystem.
Namespace
Drupal\fillpdf\Plugin\FillPdfActionPluginCode
public function __construct(OutputHandler $output_handler, array $configuration, $plugin_id, $plugin_definition) {
$this->outputHandler = $output_handler;
parent::__construct($configuration, $plugin_id, $plugin_definition);
}