You are here

public function WebformHandlerBase::getOffCanvasWidth in Webform 6.x

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

Get configuration form's off-canvas width.

Return value

string The off-canvas width.

Overrides WebformHandlerInterface::getOffCanvasWidth

See also

WebformDialogHelper::DIALOG_NARROW

WebformDialogHelper::DIALOG_NORMAL

WebformDialogHelper::DIALOG_WIDE

WebformDialogHelper::DIALOG_NONE

1 method overrides WebformHandlerBase::getOffCanvasWidth()
TestWebformOffCanvasWidthHandler::getOffCanvasWidth in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformOffCanvasWidthHandler.php
Get configuration form's off-canvas width.

File

src/Plugin/WebformHandlerBase.php, line 445

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

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