public function PrintInvoiceAction::__construct in Ubercart 8.4
Constructs a new DeleteNode object.
Parameters
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.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher: The event dispatcher service.
Overrides PluginBase::__construct
File
- uc_order/
src/ Plugin/ Action/ PrintInvoiceAction.php, line 43
Class
- PrintInvoiceAction
- Sets the response to a page that triggres the print dialog.
Namespace
Drupal\uc_order\Plugin\ActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $dispatcher) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->dispatcher = $dispatcher;
}