TaxEvents.php in Commerce Core 8.2
Namespace
Drupal\commerce_tax\EventFile
modules/tax/src/Event/TaxEvents.phpView source
<?php
namespace Drupal\commerce_tax\Event;
final class TaxEvents {
/**
* Name of the event fired when building the tax zones.
*
* @Event
*
* @see \Drupal\commerce_tax\Event\BuildZonesEvent
*/
const BUILD_ZONES = 'commerce_tax.build_zones';
/**
* Name of the event fired when determining the customer's profile.
*
* By default the billing profile is used to determine tax type
* applicability for each order item. Modules should use this event
* to select a shipping profile instead, when available.
*
* @Event
*
* @see \Drupal\commerce_tax\Event\CustomerProfileEvent
*/
const CUSTOMER_PROFILE = 'commerce_tax.customer_profile';
}