public function ContentItemBlock::defaultConfiguration in Panopoly 8.2
Overrides BlockPluginTrait::defaultConfiguration
File
- modules/
panopoly/ panopoly_widgets/ 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',
];
}