You are here

EventBase.php in Price 2.0.x

Same filename and directory in other branches
  1. 2.x src/EventBase.php

Namespace

Drupal\price

File

src/EventBase.php
View source
<?php

namespace Drupal\price;


// Drupal\Component\EventDispatcher\Event was introduced in Drupal core 9.1 to
// assist with deprecations and the transition to Symfony 5.
// @todo Remove this when core 9.1 is the lowest supported version.
// @see https://www.drupal.org/project/commerce/issues/3192056
if (!class_exists('Drupal\\Component\\EventDispatcher\\Event')) {
  class_alias('Symfony\\Component\\EventDispatcher\\Event', 'Drupal\\Component\\EventDispatcher\\Event');
}
use Drupal\Component\EventDispatcher\Event;

/**
 * Provides a base event class for Price events.
 */
class EventBase extends Event {

}

Classes

Namesort descending Description
EventBase Provides a base event class for Price events.