You are here

public function PdbBlock::attachFramework in Decoupled Blocks 8

Attaches the framework required by the component.

Parameters

array $component: The component definition.

Return value

array Array of attachments.

Overrides FrameworkAwareBlockInterface::attachFramework

1 call to PdbBlock::attachFramework()
PdbBlock::build in src/Plugin/Block/PdbBlock.php
Builds and returns the renderable array for this block plugin.
2 methods override PdbBlock::attachFramework()
EmberBlock::attachFramework in modules/pdb_ember/src/Plugin/Block/EmberBlock.php
Attaches the framework required by the component.
Ng2Block::attachFramework in modules/pdb_ng2/src/Plugin/Block/Ng2Block.php
Attaches the framework required by the component.

File

src/Plugin/Block/PdbBlock.php, line 105

Class

PdbBlock
Class PdbBlock.

Namespace

Drupal\pdb\Plugin\Block

Code

public function attachFramework(array $component) {
  return [];
}