You are here

public property PurgePurger::$multi_instance in Purge 8.3

Whether end users can create more then one instance of the purger plugin.

When you set 'multi_instance = TRUE' in your plugin annotation, it becomes possible for end-users to create multiple instances of your purger. With \Drupal\purge\Plugin\Purge\Purger\PurgerInterface::getId(), you can read the unique identifier of your instance to keep multiple instances apart.

Type: bool

File

src/Annotation/PurgePurger.php, line 73

Class

PurgePurger
Defines a PurgePurger annotation object.

Namespace

Drupal\purge\Annotation

Code

public $multi_instance = FALSE;