You are here

public function RemoteListBuilder::buildHeader in Entity Share 8.3

Same name and namespace in other branches
  1. 8 modules/entity_share_client/src/RemoteListBuilder.php \Drupal\entity_share_client\RemoteListBuilder::buildHeader()
  2. 8.2 modules/entity_share_client/src/RemoteListBuilder.php \Drupal\entity_share_client\RemoteListBuilder::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

modules/entity_share_client/src/RemoteListBuilder.php, line 18

Class

RemoteListBuilder
Provides a listing of Remote entities.

Namespace

Drupal\entity_share_client

Code

public function buildHeader() {
  $header = [];
  $header['label'] = $this
    ->t('Remote');
  $header['url'] = $this
    ->t('URL');
  return $header + parent::buildHeader();
}