protected function createQueueItem($queue_name, $data) {
    $queue = \Drupal::queue($queue_name);
    $queue->createItem($data);
  }
protected function createQueueItem($queue_name, $data) {
    $queue = \Drupal::queue($queue_name);
    $queue->createItem($data);
  }
protected function createQueueItem ( $ queue_name , $ data ) { $ queue = \ Drupal :: queue ( $ queue_name ) ; $ queue -> createItem ( $ data ) ; }
Simple reporter log and display information about the queue.

@param string $queue_name
The queue name.
@param object $data
The $data which should be stored in the queue item.
Simple reporter log and display information about the queue .