createItem

  1. drupal
    1. drupal7
Versionen
drupal7 public DrupalQueueInterface::createItem($data)

Add a queue item and store it directly to the queue.

Übergabeparameter

$data Arbitrary data to be associated with the new task in the queue.

Rückgabewert

TRUE if the item was successfully created and was (best effort) added to the queue, otherwise FALSE. We don't guarantee the item was committed to disk, that your disk wasn't hit by a meteor, etc, but as far as we know, the item is now in the queue.

Verwandte Themen

Code

modules/system/system.queue.inc, line 92

<?php
public function createItem($data);
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen