You are here

public function FrameworkAwareBlockInterface::attachSettings in Decoupled Blocks 8

Attaches JavaScript settings required by the component.

Parameters

array $component: The component definition.

Return value

array Array of attachments.

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

File

src/FrameworkAwareBlockInterface.php, line 32

Class

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

Namespace

Drupal\pdb

Code

public function attachSettings(array $component);