You are here

public function QueueService::getDescription in Purge 8.3

Retrieve the description of the queue backend.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The translated description.

Overrides QueueServiceInterface::getDescription

File

src/Plugin/Purge/Queue/QueueService.php, line 358

Class

QueueService
Provides the service that lets invalidations interact with a queue backend.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function getDescription() {
  return $this
    ->getPlugins()[current($this
    ->getPluginsEnabled())]['description'];
}