Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / entityqueue / src / EntityQueueInterface.php
index d861287bb7540b30abacfebf9e50659ab2291680..630e5e2fb97751e1f1211547d44e761473f46b0a 100644 (file)
@@ -10,21 +10,29 @@ use Drupal\Core\Config\Entity\ConfigEntityInterface;
 interface EntityQueueInterface extends ConfigEntityInterface {
 
   /**
-   * Gets the EntityQueueHandler plugin id.
+   * Gets the EntityQueueHandler plugin ID.
    *
    * @return string
    */
   public function getHandler();
 
+  /**
+   * Gets the handler plugin configuration for this queue.
+   *
+   * @return mixed[]
+   *   The handler plugin configuration.
+   */
+  public function getHandlerConfiguration();
+
   /**
    * Sets the EntityQueueHandler.
    *
-   * @param string $handler
+   * @param string $handler_id
    *   The handler name.
    *
    * @return $this
    */
-  public function setHandler($handler);
+  public function setHandler($handler_id);
 
   /**
    * Gets the EntityQueueHandler plugin object.
@@ -33,6 +41,16 @@ interface EntityQueueInterface extends ConfigEntityInterface {
    */
   public function getHandlerPlugin();
 
+  /**
+   * Sets the EntityQueueHandler plugin object.
+   *
+   * @param \Drupal\entityqueue\EntityQueueHandlerInterface $handler
+   *   A queue handler plugin.
+   *
+   * @return $this
+   */
+  public function setHandlerPlugin($handler);
+
   /**
    * Gets the ID of the target entity type.
    *