class BuildClientCdfEvent in Acquia Content Hub 8.2
The event dispatched to build the clientcdf.
Hierarchy
- class \Drupal\acquia_contenthub\Event\BuildClientCdfEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of BuildClientCdfEvent
14 files declare their use of BuildClientCdfEvent
- AchVersionAttribute.php in src/
EventSubscriber/ CdfAttributes/ AchVersionAttribute.php - AchVersionAttributeTest.php in tests/
src/ Kernel/ EventSubscriber/ CdfAttributes/ AchVersionAttributeTest.php - CdfVersionAttribute.php in src/
EventSubscriber/ CdfAttributes/ CdfVersionAttribute.php - ClientCdfLanguage.php in src/
EventSubscriber/ ClientCdf/ ClientCdfLanguage.php - ClientCDFTest.php in tests/
src/ Kernel/ ClientCDFTest.php
File
- src/
Event/ BuildClientCdfEvent.php, line 11
Namespace
Drupal\acquia_contenthub\EventView source
class BuildClientCdfEvent extends Event {
/**
* The CDF Object for which to create attributes.
*
* @var \Acquia\ContentHubClient\CDF\ClientCDFObject
*/
protected $cdf;
/**
* CdfAttributesEvent constructor.
*
* @param \Acquia\ContentHubClient\CDF\ClientCDFObject $cdf
* The CDF object.
*/
public function __construct(ClientCDFObject $cdf) {
$this->cdf = $cdf;
}
/**
* Get the CDF being created.
*
* @return \Acquia\ContentHubClient\CDF\ClientCDFObject
* The CDF object.
*/
public function getCdf() {
return $this->cdf;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BuildClientCdfEvent:: |
protected | property | The CDF Object for which to create attributes. | |
BuildClientCdfEvent:: |
public | function | Get the CDF being created. | |
BuildClientCdfEvent:: |
public | function | CdfAttributesEvent constructor. |