You are here

public function WebformBlock::defaultConfiguration in Webform 8.5

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

Overrides BlockPluginTrait::defaultConfiguration

File

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

Class

WebformBlock
Provides a 'Webform' block.

Namespace

Drupal\webform\Plugin\Block

Code

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