You are here

public function WebformVariantBase::getOffCanvasWidth in Webform 8.5

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

Get configuration form's off-canvas width.

Return value

string The off-canvas width.

Overrides WebformVariantInterface::getOffCanvasWidth

See also

WebformDialogHelper::DIALOG_NARROW

WebformDialogHelper::DIALOG_NORMAL

WebformDialogHelper::DIALOG_WIDE

WebformDialogHelper::DIALOG_NONE

1 method overrides WebformVariantBase::getOffCanvasWidth()
TestWebformOffCanvasWidthVariant::getOffCanvasWidth in tests/modules/webform_test_variant/src/Plugin/WebformVariant/TestWebformOffCanvasWidthVariant.php
Get configuration form's off-canvas width.

File

src/Plugin/WebformVariantBase.php, line 359

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

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