You are here

public function PdbBlock::getComponentInfo in Decoupled Blocks 8

Returns the component definition.

Return value

array The component definition.

4 calls to PdbBlock::getComponentInfo()
EmberBlock::build in modules/pdb_ember/src/Plugin/Block/EmberBlock.php
Builds and returns the renderable array for this block plugin.
Ng2Block::build in modules/pdb_ng2/src/Plugin/Block/Ng2Block.php
Builds and returns the renderable array for this block plugin.
PdbBlock::build in src/Plugin/Block/PdbBlock.php
Builds and returns the renderable array for this block plugin.
ReactBlock::build in modules/pdb_react/src/Plugin/Block/ReactBlock.php
Builds and returns the renderable array for this block plugin.

File

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

Class

PdbBlock
Class PdbBlock.

Namespace

Drupal\pdb\Plugin\Block

Code

public function getComponentInfo() {
  $plugin_definition = $this
    ->getPluginDefinition();
  return $plugin_definition['info'];
}