interface QueueFactoryInterface

Same name in other branches
  1. 10 core/lib/Drupal/Core/Queue/QueueFactoryInterface.php \Drupal\Core\Queue\QueueFactoryInterface

An interface defining queue factory classes.

Hierarchy

Expanded class hierarchy of QueueFactoryInterface

All classes that implement QueueFactoryInterface

1 file declares its use of QueueFactoryInterface
CoreServiceProvider.php in core/lib/Drupal/Core/CoreServiceProvider.php

File

core/lib/Drupal/Core/Queue/QueueFactoryInterface.php, line 8

Namespace

Drupal\Core\Queue
View source
interface QueueFactoryInterface {
    
    /**
     * Constructs a new queue object for a given name.
     *
     * @param string $name
     *   The name of the queue.
     *
     * @return \Drupal\Core\Queue\QueueInterface
     *   The queue object.
     */
    public function get($name);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
QueueFactoryInterface::get public function Constructs a new queue object for a given name. 1

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.