You are here

public function BlockStyleInterface::build in Block Style Plugins 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/BlockStyleInterface.php \Drupal\block_style_plugins\Plugin\BlockStyleInterface::build()

Builds and returns the renderable array for this block style plugin.

Parameters

array $variables: List of all variables sent to the theme system.

Return value

array A renderable array representing the content of the block.

1 method overrides BlockStyleInterface::build()
BlockStyleBase::build in src/Plugin/BlockStyleBase.php
Builds and returns the renderable array for this block style plugin.

File

src/Plugin/BlockStyleInterface.php, line 63

Class

BlockStyleInterface
Defines an interface for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function build(array $variables);