You are here

public function FrameworkAwareBlockInterface::attachLibraries in Decoupled Blocks 8

Attaches any libraries required by the component.

Parameters

array $component: The component definition.

Return value

array Array of attachments.

1 method overrides FrameworkAwareBlockInterface::attachLibraries()
PdbBlock::attachLibraries in src/Plugin/Block/PdbBlock.php
Attaches any libraries required by the component.

File

src/FrameworkAwareBlockInterface.php, line 43

Class

FrameworkAwareBlockInterface
Defines the interface for block plugins which expose a front-end component.

Namespace

Drupal\pdb

Code

public function attachLibraries(array $component);