You are here

protected function DevelController::summaryTableHeader in Search API Solr 8

Returns header for summary table.

Return value

string[]

1 call to DevelController::summaryTableHeader()
DevelController::entitySolr in src/Controller/DevelController.php
Prints the document structure to be indexed by Solr.

File

src/Controller/DevelController.php, line 296

Class

DevelController
Returns responses for devel module routes.

Namespace

Drupal\search_api_solr\Controller

Code

protected function summaryTableHeader() {
  return [
    'num' => '#',
    'server' => $this
      ->t('Search API server'),
    'index' => $this
      ->t('Search API index'),
    'id' => $this
      ->t('Item Datasource & ID'),
    'langcode' => $this
      ->t('Item langcode'),
    'tracked' => $this
      ->t('Is item tracked in SAPI Index?'),
    'changed' => $this
      ->t('Last time item was marked to be indexed'),
    'status' => $this
      ->t('Has item been sent to Solr?'),
    'object_size' => $this
      ->t('Local: item size'),
    'solr_id' => $this
      ->t('Solr: document ID'),
    'solr_exists' => $this
      ->t('Solr: document exists?'),
    'solr_changed' => $this
      ->t('Solr: time indexed'),
    'solr_size' => $this
      ->t('Solr: document size'),
  ];
}