public function PurgerInterface::getId in Purge 8.3
Retrieve the unique instance ID for this purger instance.
Every purger has a unique instance identifier set by the purgers service, whether it is multi-instantiable or not. Plugins with 'multi_instance' set to TRUE in their annotations, are likely to require the use of this method to differentiate their purger instance (e.g. through configuration).
Return value
string The unique identifier for this purger instance.
See also
\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface::createId()
1 method overrides PurgerInterface::getId()
- PurgerBase::getId in src/
Plugin/ Purge/ Purger/ PurgerBase.php - Retrieve the unique instance ID for this purger instance.
File
- src/
Plugin/ Purge/ Purger/ PurgerInterface.php, line 38
Class
- PurgerInterface
- Describes a purger - the cache invalidation executor.
Namespace
Drupal\purge\Plugin\Purge\PurgerCode
public function getId();