You are here

class DeleteRemoteEntityEvent in Acquia Content Hub 8.2

The event dispatched to inform of remote entity deletion.

Hierarchy

Expanded class hierarchy of DeleteRemoteEntityEvent

2 files declare their use of DeleteRemoteEntityEvent
ContentHubCommonActions.php in src/ContentHubCommonActions.php
UpdateTracking.php in modules/acquia_contenthub_publisher/src/EventSubscriber/DeleteRemoteEntity/UpdateTracking.php

File

src/Event/DeleteRemoteEntityEvent.php, line 10

Namespace

Drupal\acquia_contenthub\Event
View source
class DeleteRemoteEntityEvent extends Event {

  /**
   * The uuid of the remote entity being deleted.
   *
   * @var string
   */
  protected $uuid;

  /**
   * DeleteRemoteEntityEvent constructor.
   *
   * @param string $uuid
   *   The uuid of the deleted remote entity.
   */
  public function __construct(string $uuid) {
    $this->uuid = $uuid;
  }

  /**
   * Get the uuid of the deleted remote entity.
   *
   * @return string
   *   The uuid of the deleted remote entity.
   */
  public function getUuid() {
    return $this->uuid;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DeleteRemoteEntityEvent::$uuid protected property The uuid of the remote entity being deleted.
DeleteRemoteEntityEvent::getUuid public function Get the uuid of the deleted remote entity.
DeleteRemoteEntityEvent::__construct public function DeleteRemoteEntityEvent constructor.