class DeleteRemoteEntityEvent in Acquia Content Hub 8.2
The event dispatched to inform of remote entity deletion.
Hierarchy
- class \Drupal\acquia_contenthub\Event\DeleteRemoteEntityEvent extends \Symfony\Component\EventDispatcher\Event
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\EventView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DeleteRemoteEntityEvent:: |
protected | property | The uuid of the remote entity being deleted. | |
DeleteRemoteEntityEvent:: |
public | function | Get the uuid of the deleted remote entity. | |
DeleteRemoteEntityEvent:: |
public | function | DeleteRemoteEntityEvent constructor. |