public function RealEstateListBuilder::buildHeader in Styled Google Map 8.2
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
- modules/
demo/ src/ RealEstateListBuilder.php, line 20
Class
- RealEstateListBuilder
- Defines a class to build a listing of Real estate entities.
Namespace
Drupal\styled_google_map_demoCode
public function buildHeader() {
$header['id'] = $this
->t('Real estate ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}