You are here

public function TestWebformOffCanvasWidthHandler::getOffCanvasWidth in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformOffCanvasWidthHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestWebformOffCanvasWidthHandler::getOffCanvasWidth()

Get configuration form's off-canvas width.

Return value

string The off-canvas width.

Overrides WebformHandlerBase::getOffCanvasWidth

See also

WebformDialogHelper::DIALOG_NARROW

WebformDialogHelper::DIALOG_NORMAL

WebformDialogHelper::DIALOG_WIDE

WebformDialogHelper::DIALOG_NONE

File

tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformOffCanvasWidthHandler.php, line 23

Class

TestWebformOffCanvasWidthHandler
Webform submission test off-canvas width handler.

Namespace

Drupal\webform_test_handler\Plugin\WebformHandler

Code

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