public function BlockWithAlteredSettings::defaultConfiguration in Panopoly 8.2
Overrides BlockPluginTrait::defaultConfiguration
File
- modules/
panopoly/ panopoly_magic/ tests/ modules/ panopoly_magic_preview_test/ src/ Plugin/ Block/ BlockWithAlteredSettings.php, line 22
Class
- BlockWithAlteredSettings
- A block that takes a setting that'll be displayed.
Namespace
Drupal\panopoly_magic_preview_test\Plugin\BlockCode
public function defaultConfiguration() {
return [
'message' => 'The default message',
];
}