You are here

public function WebformSubmissionLimitBlock::defaultConfiguration in Webform 6.x

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

Overrides BlockPluginTrait::defaultConfiguration

1 call to WebformSubmissionLimitBlock::defaultConfiguration()
WebformSubmissionLimitBlock::blockSubmit in src/Plugin/Block/WebformSubmissionLimitBlock.php

File

src/Plugin/Block/WebformSubmissionLimitBlock.php, line 83

Class

WebformSubmissionLimitBlock
Provides a 'Webform submission limit' block.

Namespace

Drupal\webform\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'type' => 'webform',
    'source_entity' => TRUE,
    'content' => '',
    'progress_bar' => TRUE,
    'progress_bar_label' => '',
    'progress_bar_message' => '',
    'webform_id' => '',
    'entity_type' => '',
    'entity_id' => '',
  ];
}