You are here

public function TestWebformOffCanvasWidthVariant::getOffCanvasWidth in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_variant/src/Plugin/WebformVariant/TestWebformOffCanvasWidthVariant.php \Drupal\webform_test_variant\Plugin\WebformVariant\TestWebformOffCanvasWidthVariant::getOffCanvasWidth()

Get configuration form's off-canvas width.

Return value

string The off-canvas width.

Overrides WebformVariantBase::getOffCanvasWidth

See also

WebformDialogHelper::DIALOG_NARROW

WebformDialogHelper::DIALOG_NORMAL

WebformDialogHelper::DIALOG_WIDE

WebformDialogHelper::DIALOG_NONE

File

tests/modules/webform_test_variant/src/Plugin/WebformVariant/TestWebformOffCanvasWidthVariant.php, line 23

Class

TestWebformOffCanvasWidthVariant
Webform variant off-canvas width.

Namespace

Drupal\webform_test_variant\Plugin\WebformVariant

Code

public function getOffCanvasWidth() {
  return WebformDialogHelper::DIALOG_WIDE;
}