You are here

public function textResizeBlock::build in Text Resize 8

*

Overrides BlockPluginInterface::build

File

src/Plugin/Block/textResizeBlock.php, line 39
Contains \Drupal\text_resize\Plugin\Block\textResizeBlock.

Class

textResizeBlock
Provides a text resize block.

Namespace

Drupal\text_resize\Plugin\Block

Code

public function build() {
  return array(
    '#theme' => 'text_resize_block',
    '#attached' => array(
      'library' => array(
        'text_resize/text_resize.resize',
      ),
    ),
  );
}