You are here

public static function EntityPrintSubscriber::getSubscribedEvents in Commerce Invoice 8.2

File

src/EventSubscriber/EntityPrintSubscriber.php, line 27

Class

EntityPrintSubscriber
Add our CSS for the invoice PDFS.

Namespace

Drupal\commerce_invoice\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    PrintEvents::CSS_ALTER => 'alterCss',
  ];
}