You are here

interface ModifiableServiceInterface in Purge 8.3

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

Hierarchy

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\purge
View 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

Namesort descending Modifiers Type Description Overrides
ModifiableServiceInterface::getPluginsAvailable public function Retrieve the plugin IDs of plugins that can be enabled. 1
ModifiableServiceInterface::setPluginsEnabled public function Set the plugins used by the service and reload it. 4