You are here

public function MigrationGroupListBuilder::buildHeader in Migrate Tools 8.3

Same name and namespace in other branches
  1. 8.5 src/Controller/MigrationGroupListBuilder.php \Drupal\migrate_tools\Controller\MigrationGroupListBuilder::buildHeader()
  2. 8 src/Controller/MigrationGroupListBuilder.php \Drupal\migrate_tools\Controller\MigrationGroupListBuilder::buildHeader()
  3. 8.2 src/Controller/MigrationGroupListBuilder.php \Drupal\migrate_tools\Controller\MigrationGroupListBuilder::buildHeader()
  4. 8.4 src/Controller/MigrationGroupListBuilder.php \Drupal\migrate_tools\Controller\MigrationGroupListBuilder::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/MigrationGroupListBuilder.php, line 26

Class

MigrationGroupListBuilder
Provides a listing of migration group entities.

Namespace

Drupal\migrate_tools\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Migration Group');
  $header['machine_name'] = $this
    ->t('Machine Name');
  $header['description'] = $this
    ->t('Description');
  $header['source_type'] = $this
    ->t('Source Type');
  return $header + parent::buildHeader();
}