public function PurgerBase::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.
Overrides PurgerInterface::getId
See also
\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface::createId()
File
- src/
Plugin/ Purge/ Purger/ PurgerBase.php, line 93
Class
- PurgerBase
- Provides a base class for all purgers - the cache invalidation executors.
Namespace
Drupal\purge\Plugin\Purge\PurgerCode
public function getId() {
return $this->id;
}