You are here

public function PurgersServiceInterface::getLabels in Purge 8.3

Retrieve all user-readable labels for all enabled purger instances.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup[] Associative array with instance ID's in the key and the label as value.

See also

\Drupal\purge\Plugin\Purge\Purger\PurgerInterface::getId()

\Drupal\purge\Plugin\Purge\Purger\PurgerInterface::getLabel()

1 method overrides PurgersServiceInterface::getLabels()
PurgersService::getLabels in src/Plugin/Purge/Purger/PurgersService.php
Retrieve all user-readable labels for all enabled purger instances.

File

src/Plugin/Purge/Purger/PurgersServiceInterface.php, line 49

Class

PurgersServiceInterface
Describes a service that distributes access to one or more purgers.

Namespace

Drupal\purge\Plugin\Purge\Purger

Code

public function getLabels();