You are here

public function WSCallListBuilder::buildHeader in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/WSCallListBuilder.php \Drupal\wsdata\WSCallListBuilder::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/WSCallListBuilder.php, line 17

Class

WSCallListBuilder
Provides a listing of Web Service Call entities.

Namespace

Drupal\wsdata

Code

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