public function MigrationListBuilder::buildHeader in Migrate Tools 8.5
Same name and namespace in other branches
- 8 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()
- 8.2 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()
- 8.3 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::buildHeader()
- 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 116
Class
- MigrationListBuilder
- Provides a listing of migration entities in a given group.
Namespace
Drupal\migrate_tools\ControllerCode
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');
$header['operations'] = $this
->t('Operations');
return $header;
}