public function FrameworkAwareBlockInterface::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.
1 method overrides FrameworkAwareBlockInterface::attachPageHeader()
- PdbBlock::attachPageHeader in src/
Plugin/ Block/ PdbBlock.php - Attaches anything the component needs in the HTML <head>.
File
- src/
FrameworkAwareBlockInterface.php, line 54
Class
- FrameworkAwareBlockInterface
- Defines the interface for block plugins which expose a front-end component.
Namespace
Drupal\pdbCode
public function attachPageHeader(array $component);