You are here

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

File

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

Class

EntityUrlCdfAttribute
Adds a CDF attribute that contains the Entity URL.

Namespace

Drupal\acquia_contenthub\EventSubscriber\CdfAttributes

Code

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