You are here

public function DeviceListBuilder::buildHeader in Responsive Theme Preview 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/DeviceListBuilder.php, line 26

Class

DeviceListBuilder
Provides a listing of Device entities.

Namespace

Drupal\responsive_preview

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Name');
  $header['status'] = $this
    ->t('Show in list');
  $header['dimensions'] = $this
    ->t('Dimensions');
  return $header + parent::buildHeader();
}