public function PdbBlock::attachPageHeader in Decoupled Blocks 8
Attaches anything the component needs in the HTML <head>.
Parameters
array $component: The component definition.
Return value
array Array of attachments.
Overrides FrameworkAwareBlockInterface::attachPageHeader
1 call to PdbBlock::attachPageHeader()
- PdbBlock::build in src/
Plugin/ Block/ PdbBlock.php - Builds and returns the renderable array for this block plugin.
File
- src/
Plugin/ Block/ PdbBlock.php, line 145
Class
- PdbBlock
- Class PdbBlock.
Namespace
Drupal\pdb\Plugin\BlockCode
public function attachPageHeader(array $component) {
return [];
}