abstract class ContentHubQueueItemBase in Acquia Content Hub 8
Base class for the Content Hub Queue Items.
@package Drupal\acquia_contenthub\QueueItem
Hierarchy
- class \Drupal\acquia_contenthub\QueueItem\ContentHubQueueItemBase implements ContentHubQueueItemInterface
Expanded class hierarchy of ContentHubQueueItemBase
File
- src/
QueueItem/ ContentHubQueueItemBase.php, line 10
Namespace
Drupal\acquia_contenthub\QueueItemView source
abstract class ContentHubQueueItemBase implements ContentHubQueueItemInterface {
/**
* Get a property on the QueueItem.
*
* @param string $property
* The queue item property.
*
* @return bool|mixed
* The property value if exists, FALSE otherwise.
*/
public function get($property) {
return isset($this->{$property}) ? $this->{$property} : FALSE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentHubQueueItemBase:: |
public | function |
Get a property on the QueueItem. Overrides ContentHubQueueItemInterface:: |