You are here

service queue in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \queue

Class

Drupal\Core\Queue\QueueFactory
6 string references to queue
BatchBuilderTest::testDefaultValues in core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php
Tests the default values.
CronQueueTest::setUp in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
CronQueueTest::testDelayException in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
Tests that DelayedRequeueException behaves as expected when running cron.
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
DrupalTest::testQueue in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the queue() method.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Queue\QueueFactory
  2. arguments:
  3. - '@settings'
  4. calls:
  5. - [setContainer, ['@service_container']]