public function SystemPoweredByBlock::build

Builds and returns the renderable array for this block plugin.

Return value

array A renderable array representing the content of the block.

Overrides BlockPluginInterface::build

See also

\Drupal\block\BlockRenderController

File

drupal/core/modules/system/lib/Drupal/system/Plugin/Block/SystemPoweredByBlock.php, line 28
Contains \Drupal\system\Plugin\Block\SystemPoweredByBlock.

Class

SystemPoweredByBlock
Provides a 'Powered by Drupal' block.

Namespace

Drupal\system\Plugin\Block

Code

public function build() {
  return array(
    '#children' => theme('system_powered_by'),
  );
}