public function showErrorAction(int $indexQueueItemId)
    {
        if (is_null($indexQueueItemId)) {
            // add a flash message and quit
            $label = 'solr.backend.index_queue_module.flashmessage.error.no_queue_item_for_queue_error';
            $severity = FlashMessage::ERROR;
            $this->addIndexQueueFlashMessage($label, $severity);

            return;
        }

        $item = $this->indexQueue->getItem($indexQueueItemId);
        $this->view->assign('indexQueueItem', $item);
    }
public function showErrorAction(int $indexQueueItemId)
    {
        if (is_null($indexQueueItemId)) {
            // add a flash message and quit
            $label = 'solr.backend.index_queue_module.flashmessage.error.no_queue_item_for_queue_error';
            $severity = FlashMessage::ERROR;
            $this->addIndexQueueFlashMessage($label, $severity);

            return;
        }

        $item = $this->indexQueue->getItem($indexQueueItemId);
        $this->view->assign('indexQueueItem', $item);
    }
public function showErrorAction ( int $ indexQueueItemId ) { if ( is_null ( $ indexQueueItemId ) ) { // add a flash message and quit $ label = 'solr.backend.index_queue_module.flashmessage.error.no_queue_item_for_queue_error' ; $ severity = FlashMessage :: ERROR ; $ this -> addIndexQueueFlashMessage ( $ label , $ severity ) ; return ; } $ item = $ this -> indexQueue -> getItem ( $ indexQueueItemId ) ; $ this -> view -> assign ( 'indexQueueItem' , $ item ) ; }
Shows the error message for one queue item.

@param int $indexQueueItemId
@return void
Shows the error message for one queue item .