You are here

public function MigrationListBuilder::buildHeader in Migrate Tools 8.3

Same name and namespace in other branches
  1. 8.5 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()
  2. 8 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()
  3. 8.2 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()
  4. 8.4 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

Drupal\Core\Entity\EntityListController::render()

File

src/Controller/MigrationListBuilder.php, line 105

Class

MigrationListBuilder
Provides a listing of migration entities in a given group.

Namespace

Drupal\migrate_tools\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Migration');
  $header['machine_name'] = $this
    ->t('Machine Name');
  $header['status'] = $this
    ->t('Status');
  $header['total'] = $this
    ->t('Total');
  $header['imported'] = $this
    ->t('Imported');
  $header['unprocessed'] = $this
    ->t('Unprocessed');
  $header['messages'] = $this
    ->t('Messages');
  $header['last_imported'] = $this
    ->t('Last Imported');
  return $header;

  // + parent::buildHeader();
}