public function StateListBuilder::buildHeader in Country, State and City Fields 8
Building the header and content lines for the slider list.
Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.
Overrides EntityListBuilder::buildHeader
File
- src/
Entity/ Controller/ StateListBuilder.php, line 76
Class
- StateListBuilder
- Provides a list controller for statelist entity.
Namespace
Drupal\country_state_city\Entity\ControllerCode
public function buildHeader() {
$header['id'] = $this
->t('State ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}