public function OembedProviderListBuilder::buildHeader in oEmbed Providers 1.1.x
Same name and namespace in other branches
- 2.x src/OembedProviderListBuilder.php \Drupal\oembed_providers\OembedProviderListBuilder::buildHeader()
- 1.0.x src/OembedProviderListBuilder.php \Drupal\oembed_providers\OembedProviderListBuilder::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/
OembedProviderListBuilder.php, line 16
Class
- OembedProviderListBuilder
- Provides a listing of custom oEmbed providers.
Namespace
Drupal\oembed_providersCode
public function buildHeader() {
$header['label'] = $this
->t('Provider');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}