You are here

public static function CdfVersionAttribute::getSubscribedEvents in Acquia Content Hub 8.2

File

src/EventSubscriber/CdfAttributes/CdfVersionAttribute.php, line 20

Class

CdfVersionAttribute
Notates the metadata with a CDF version marker.

Namespace

Drupal\acquia_contenthub\EventSubscriber\CdfAttributes

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::POPULATE_CDF_ATTRIBUTES][] = [
    'onPopulateAttributes',
    100,
  ];
  $events[AcquiaContentHubEvents::BUILD_CLIENT_CDF][] = [
    'onBuildClientCdf',
    100,
  ];
  return $events;
}