interface ModifiableServiceInterface in Purge 8.3
Describes a container service of which its back-end plugins can be changed.
Hierarchy
- interface \Drupal\purge\ModifiableServiceInterface
Expanded class hierarchy of ModifiableServiceInterface
All classes that implement ModifiableServiceInterface
4 files declare their use of ModifiableServiceInterface
- ProcessorsServiceInterface.php in src/
Plugin/ Purge/ Processor/ ProcessorsServiceInterface.php - PurgersServiceInterface.php in src/
Plugin/ Purge/ Purger/ PurgersServiceInterface.php - QueuersServiceInterface.php in src/
Plugin/ Purge/ Queuer/ QueuersServiceInterface.php - QueueServiceInterface.php in src/
Plugin/ Purge/ Queue/ QueueServiceInterface.php
File
- src/
ModifiableServiceInterface.php, line 8
Namespace
Drupal\purgeView source
interface ModifiableServiceInterface {
/**
* Retrieve the plugin IDs of plugins that can be enabled.
*
* @see \Drupal\purge\ModifiableServiceInterface::setPluginsEnabled()
*
* @return string[]
* Unassociative array with plugin IDs that are available to be enabled.
*/
public function getPluginsAvailable();
/**
* Set the plugins used by the service and reload it.
*
* @param string[] $plugin_ids
* Unassociative array with plugin IDs to be enabled.
*
* @see \Drupal\purge\ModifiableServiceInterface::getPluginsAvailable()
*/
public function setPluginsEnabled(array $plugin_ids);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ModifiableServiceInterface:: |
public | function | Retrieve the plugin IDs of plugins that can be enabled. | 1 |
ModifiableServiceInterface:: |
public | function | Set the plugins used by the service and reload it. | 4 |