class AcquiaContentHubSettingsEvent in Acquia Content Hub 8.2
The event dispatched to find settings for the ContentHub Service.
Hierarchy
- class \Drupal\acquia_contenthub\Event\AcquiaContentHubSettingsEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of AcquiaContentHubSettingsEvent
8 files declare their use of AcquiaContentHubSettingsEvent
- AcquiaContentHubSettingsCommands.php in src/
Commands/ AcquiaContentHubSettingsCommands.php - ClientFactory.php in src/
Client/ ClientFactory.php - GetSettingsFromCoreConfig.php in src/
EventSubscriber/ GetSettings/ GetSettingsFromCoreConfig.php - GetSettingsFromCoreSettings.php in src/
EventSubscriber/ GetSettings/ GetSettingsFromCoreSettings.php - GetSettingsFromEnvVar.php in src/
EventSubscriber/ GetSettings/ GetSettingsFromEnvVar.php
File
- src/
Event/ AcquiaContentHubSettingsEvent.php, line 12
Namespace
Drupal\acquia_contenthub\EventView source
class AcquiaContentHubSettingsEvent extends Event {
/**
* The ContentHubClient settings object.
*
* @var \Acquia\ContentHubClient\Settings
*/
protected $settings;
/**
* The provider of the settings configuration.
*
* @var string
*/
protected $provider;
/**
* Gets the ContentHubClient settings object.
*
* @return \Acquia\ContentHubClient\Settings
* The Content Hub client settings.
*/
public function getSettings() {
return $this->settings;
}
/**
* Set the ContentHubClient settings object.
*
* @param \Acquia\ContentHubClient\Settings $settings
* The Content Hub client settings.
*/
public function setSettings(Settings $settings) {
$this->settings = $settings;
}
/**
* Gets the providers of the settings object.
*
* @return string
* The Provider.
*/
public function getProvider() {
return $this->provider;
}
/**
* Sets the provider of the settings object.
*
* @param string $provider
* The Provider.
*/
public function setProvider($provider) {
$this->provider = $provider;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AcquiaContentHubSettingsEvent:: |
protected | property | The provider of the settings configuration. | |
AcquiaContentHubSettingsEvent:: |
protected | property | The ContentHubClient settings object. | |
AcquiaContentHubSettingsEvent:: |
public | function | Gets the providers of the settings object. | |
AcquiaContentHubSettingsEvent:: |
public | function | Gets the ContentHubClient settings object. | |
AcquiaContentHubSettingsEvent:: |
public | function | Sets the provider of the settings object. | |
AcquiaContentHubSettingsEvent:: |
public | function | Set the ContentHubClient settings object. |