public function ContentHubPublishEntitiesEvent::__construct in Acquia Content Hub 8.2
ContentHubPublishEntitiesEvent constructor.
Parameters
string $key_entity_uuid: The key entity that this set of entities was calculated from.
\Drupal\depcalc\DependentEntityWrapperInterface[] $dependencies: The dependency wrappers.
File
- src/
Event/ ContentHubPublishEntitiesEvent.php, line 37
Class
- ContentHubPublishEntitiesEvent
- Event fired for publishing of entities.
Namespace
Drupal\acquia_contenthub\EventCode
public function __construct($key_entity_uuid, DependentEntityWrapperInterface ...$dependencies) {
//@codingStandardsIgnoreLine
$this->keyEntityUuid = $key_entity_uuid;
foreach ($dependencies as $dependency) {
$this->dependencies[$dependency
->getUuid()] = $dependency;
}
}