You are here

public function NodeFormBlock::defaultConfiguration in Form Block 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Block/NodeFormBlock.php \Drupal\formblock\Plugin\Block\NodeFormBlock::defaultConfiguration()

Overrides \Drupal\block\BlockBase::settings().

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/NodeFormBlock.php, line 81

Class

NodeFormBlock
Provides a block for node forms.

Namespace

Drupal\formblock\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'type' => NULL,
    'show_help' => FALSE,
  ];
}