You are here

public function ModifiableServiceInterface::setPluginsEnabled in Purge 8.3

Set the plugins used by the service and reload it.

Parameters

string[] $plugin_ids: Unassociative array with plugin IDs to be enabled.

See also

\Drupal\purge\ModifiableServiceInterface::getPluginsAvailable()

4 methods override ModifiableServiceInterface::setPluginsEnabled()
ProcessorsService::setPluginsEnabled in src/Plugin/Purge/Processor/ProcessorsService.php
Set the plugins used by the service and reload it.
PurgersService::setPluginsEnabled in src/Plugin/Purge/Purger/PurgersService.php
Set the plugins used by the service and reload it.
QueuersService::setPluginsEnabled in src/Plugin/Purge/Queuer/QueuersService.php
Set the plugins used by the service and reload it.
QueueService::setPluginsEnabled in src/Plugin/Purge/Queue/QueueService.php
Set the plugins used by the service and reload it.

File

src/ModifiableServiceInterface.php, line 28

Class

ModifiableServiceInterface
Describes a container service of which its back-end plugins can be changed.

Namespace

Drupal\purge

Code

public function setPluginsEnabled(array $plugin_ids);