You are here

public function ServiceContainerBlock::build in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/utility/service_container_block/src/Plugin/Block/ServiceContainerBlock.php \Drupal\service_container_block\Plugin\Block\ServiceContainerBlock::build()

File

modules/utility/service_container_block/src/Plugin/Block/ServiceContainerBlock.php, line 25
Contains \Drupal\service_container_block\Plugin\Block\ServiceContainerBlock.

Class

ServiceContainerBlock
Defines a Drupal Block.

Namespace

Drupal\service_container_block\Plugin\Block

Code

public function build() {
  return 'Hello World !';
}