You are here

public function LingotekProfileListBuilder::buildHeader in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 8 src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  2. 8.2 src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  3. 4.0.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  4. 3.0.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  5. 3.1.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  6. 3.2.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  7. 3.3.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  8. 3.4.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  9. 3.6.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  10. 3.7.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()
  11. 3.8.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

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

File

src/LingotekProfileListBuilder.php, line 92

Class

LingotekProfileListBuilder
Defines a class to build a listing of Lingotek profile entities.

Namespace

Drupal\lingotek

Code

public function buildHeader() {
  $header = [
    'label' => t('Name'),
    'auto_upload' => t('Automatic Upload'),
    'auto_request' => t('Automatic Request'),
    'auto_download' => t('Automatic Download'),
  ] + parent::buildHeader();
  return $header;
}