You are here

public function WebformBlock::defaultConfiguration in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/Block/WebformBlock.php \Drupal\webform\Plugin\Block\WebformBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/WebformBlock.php, line 69

Class

WebformBlock
Provides a 'Webform' block.

Namespace

Drupal\webform\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'webform_id' => '',
    'default_data' => '',
    'redirect' => FALSE,
  ];
}