You are here

interface QueuersServiceInterface in Purge 8.3

Describes a service that provides access to loaded queuers.

Hierarchy

Expanded class hierarchy of QueuersServiceInterface

All classes that implement QueuersServiceInterface

8 files declare their use of QueuersServiceInterface
DashboardController.php in modules/purge_ui/src/Controller/DashboardController.php
PurgeBlockForm.php in modules/purge_ui/src/Form/PurgeBlockForm.php
QueueCommands.php in modules/purge_drush/src/Commands/QueueCommands.php
QueuerAddForm.php in modules/purge_ui/src/Form/QueuerAddForm.php
QueuerCommands.php in modules/purge_drush/src/Commands/QueuerCommands.php

... See full list

File

src/Plugin/Purge/Queuer/QueuersServiceInterface.php, line 11

Namespace

Drupal\purge\Plugin\Purge\Queuer
View source
interface QueuersServiceInterface extends ServiceInterface, ModifiableServiceInterface, \Iterator, \Countable {

  /**
   * Get the requested queuer instance.
   *
   * @param string $plugin_id
   *   The plugin ID of the queuer you want to retrieve.
   *
   * @return \Drupal\purge\Plugin\Purge\Queuer\QueuerInterface|false
   *   The queue 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
QueuersServiceInterface::get public function Get the requested queuer 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