function ConfigTestListBuilder::buildHeader
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
File
- 
              core/
modules/ config/ tests/ config_test/ src/ ConfigTestListBuilder.php, line 18  
Class
- ConfigTestListBuilder
 - Defines a class to build a listing of ConfigTest entities.
 
Namespace
Drupal\config_testCode
public function buildHeader() {
  $header['label'] = t('Label');
  $header['id'] = t('Machine name');
  return $header + parent::buildHeader();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.