public static function BrightcoveUtil::getStatusQueues in Brightcove Video Connect 8.2
Same name and namespace in other branches
- 8 src/BrightcoveUtil.php \Drupal\brightcove\BrightcoveUtil::getStatusQueues()
- 3.x src/BrightcoveUtil.php \Drupal\brightcove\BrightcoveUtil::getStatusQueues()
Gets Brightcove status queues.
Return value
array A list of status queues.
2 calls to BrightcoveUtil::getStatusQueues()
- BrightcoveAPIClientDeleteForm::submitForm in src/
Form/ BrightcoveAPIClientDeleteForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
- BrightcoveUtil::runStatusQueues in src/
BrightcoveUtil.php - Runs specific status queues based on the given $type.
File
- src/
BrightcoveUtil.php, line 232
Class
- BrightcoveUtil
- Utility class for Brightcove.
Namespace
Drupal\brightcoveCode
public static function getStatusQueues() {
// These queues are responsible for synchronizing from Brightcove to
// Drupal (IOW pulling). The order is important.
// - The client queue must be run first, that's out of question: this
// worker populates most of the other queues.
// - Players should be pulled before videos and playlists.
// - Custom fields (which means custom field definitions, not values)
// should be pulled before videos.
// - Text tracks can only be pulled after videos.
// - Playlists can only be pulled after videos.
// - Custom fields (again: their definitions) have to be deleted
// before pulling videos.
// - Text tracks have to be deleted before videos are pulled or
// deleted.
return [
'brightcove_client_queue_worker',
'brightcove_player_queue_worker',
'brightcove_player_delete_queue_worker',
'brightcove_custom_field_queue_worker',
'brightcove_custom_field_delete_queue_worker',
'brightcove_video_page_queue_worker',
'brightcove_video_queue_worker',
'brightcove_text_track_queue_worker',
'brightcove_text_track_delete_queue_worker',
'brightcove_playlist_page_queue_worker',
'brightcove_playlist_queue_worker',
'brightcove_video_delete_queue_worker',
'brightcove_playlist_delete_queue_worker',
'brightcove_subscriptions_queue_worker',
'brightcove_subscription_queue_worker',
'brightcove_subscription_delete_queue_worker',
];
}