public function ContentItemBlock::defaultConfiguration in Panopoly Widgets 8.2
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ ContentItemBlock.php, line 79
Class
- ContentItemBlock
- Block that displays a node.
Namespace
Drupal\panopoly_widgets\Plugin\BlockCode
public function defaultConfiguration() {
return [
'nid' => NULL,
'view_mode' => 'default',
];
}