You are here

public function WSServerListBuilder::buildHeader in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/WSServerListBuilder.php \Drupal\wsdata\WSServerListBuilder::buildHeader()

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

src/WSServerListBuilder.php, line 16

Class

WSServerListBuilder
Provides a listing of Web Service Server entities.

Namespace

Drupal\wsdata

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Web Service Server');
  $header['id'] = $this
    ->t('Machine name');
  $header['type'] = $this
    ->t('Connector');
  return $header + parent::buildHeader();
}