public function BlockPluginInterface::build

Builds and returns the renderable array for this block plugin.

Return value

array A renderable array representing the content of the block.

See also

\Drupal\block\BlockRenderController

23 methods override BlockPluginInterface::build()
ActiveTopicsBlock::build in drupal/core/modules/forum/lib/Drupal/forum/Plugin/Block/ActiveTopicsBlock.php
Builds and returns the renderable array for this block plugin.
AggregatorCategoryBlock::build in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php
Builds and returns the renderable array for this block plugin.
AggregatorFeedBlock::build in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php
Builds and returns the renderable array for this block plugin.
BookNavigationBlock::build in drupal/core/modules/book/lib/Drupal/book/Plugin/Block/BookNavigationBlock.php
Builds and returns the renderable array for this block plugin.
CustomBlockBlock::build in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Block/CustomBlockBlock.php
Builds and returns the renderable array for this block plugin.

... See full list

File

drupal/core/modules/block/lib/Drupal/block/BlockPluginInterface.php, line 103
Contains \Drupal\block\BlockPluginInterface.

Class

BlockPluginInterface
Defines the required interface for all block plugins.

Namespace

Drupal\block

Code

public function build();