You are here

interface ProcessorsServiceInterface in Purge 8.3

Describes a service that provides access to loaded processors.

Hierarchy

Expanded class hierarchy of ProcessorsServiceInterface

All classes that implement ProcessorsServiceInterface

9 files declare their use of ProcessorsServiceInterface
DashboardController.php in modules/purge_ui/src/Controller/DashboardController.php
InvalidateCommand.php in modules/purge_drush/src/Commands/InvalidateCommand.php
ProcessorAddForm.php in modules/purge_ui/src/Form/ProcessorAddForm.php
ProcessorCommands.php in modules/purge_drush/src/Commands/ProcessorCommands.php
ProcessorDeleteForm.php in modules/purge_ui/src/Form/ProcessorDeleteForm.php

... See full list

File

src/Plugin/Purge/Processor/ProcessorsServiceInterface.php, line 11

Namespace

Drupal\purge\Plugin\Purge\Processor
View source
interface ProcessorsServiceInterface extends ServiceInterface, ModifiableServiceInterface, \Iterator, \Countable {

  /**
   * Get the requested processor instance.
   *
   * @param string $plugin_id
   *   The plugin ID of the processor you want to retrieve.
   *
   * @return \Drupal\purge\Plugin\Purge\Processor\ProcessorInterface|false
   *   The processor plugin or FALSE when it isn't available.
   */
  public function get($plugin_id);

}

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
ProcessorsServiceInterface::get public function Get the requested processor instance. 1
ServiceInterface::getPlugins public function Retrieve a list of all available plugins providing the service. 1
ServiceInterface::getPluginsEnabled public function Retrieve the configured plugin_ids that the service will use. 1
ServiceInterface::isPluginEnabled public function Find out whether the given plugin_id is enabled. 1
ServiceInterface::reload public function Reload the service and reinstantiate all enabled plugins. 1
ServiceModifierInterface::alter public function Modifies existing service definitions. 13
ServiceProviderInterface::register public function Registers services to the container. 14