function TestEmptyBlock::build
Overrides BlockPluginInterface::build
File
-
core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestEmptyBlock.php, line 23
Class
- TestEmptyBlock
- Provides a block that returns an empty array.
Namespace
Drupal\block_test\Plugin\BlockCode
public function build() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.