public function TestBlockInstantiation::defaultConfiguration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php \Drupal\block_test\Plugin\Block\TestBlockInstantiation::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockBase::defaultConfiguration
File
- core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestBlockInstantiation.php, line 28 - Contains \Drupal\block_test\Plugin\Block\TestBlockInstantiation.
Class
- TestBlockInstantiation
- Provides a basic block for testing block instantiation and configuration.
Namespace
Drupal\block_test\Plugin\BlockCode
public function defaultConfiguration() {
return array(
'display_message' => 'no message set',
);
}