public function ProviderListBuilder::buildHeader in oEmbed 8
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/
ProviderListBuilder.php, line 20 - Contains \Drupal\oembed\ProviderListBuilder.
Class
- ProviderListBuilder
- Provides a listing of Provider entities.
Namespace
Drupal\oembedCode
public function buildHeader() {
$header['label'] = $this
->t('Provider');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}