You are here

public function FrameworkAwareBlockInterface::attachFramework in Decoupled Blocks 8

Attaches the framework required by the component.

Parameters

array $component: The component definition.

Return value

array Array of attachments.

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

File

src/FrameworkAwareBlockInterface.php, line 21

Class

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

Namespace

Drupal\pdb

Code

public function attachFramework(array $component);