function ClearCacheBlock::build

Overrides BlockPluginInterface::build

File

core/modules/system/src/Plugin/Block/ClearCacheBlock.php, line 56

Class

ClearCacheBlock
Provides a block to display 'Clear cache' elements.

Namespace

Drupal\system\Plugin\Block

Code

public function build() : array {
    return $this->formBuilder
        ->getForm(ClearCacheForm::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.