public function CountryListBuilder::buildHeader in Ubercart 8.4
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\EntityListBuilder::render()
File
- uc_country/
src/ CountryListBuilder.php, line 26
Class
- CountryListBuilder
- Provides a listing of countries.
Namespace
Drupal\uc_countryCode
public function buildHeader() {
$header['title'] = $this
->t('Name');
$header['code'] = $this
->t('Code');
return $header + parent::buildHeader();
}