public function WebformElementBase::getOffCanvasWidth in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::getOffCanvasWidth()
Get configuration form's off-canvas width.
Return value
string The off-canvas width.
Overrides WebformElementInterface::getOffCanvasWidth
See also
WebformDialogHelper::DIALOG_NARROW
WebformDialogHelper::DIALOG_NORMAL
WebformDialogHelper::DIALOG_WIDE
WebformDialogHelper::DIALOG_NONE
1 method overrides WebformElementBase::getOffCanvasWidth()
- WebformTestOffCanvasWidthElement::getOffCanvasWidth in tests/
modules/ webform_test_element/ src/ Plugin/ WebformElement/ WebformTestOffCanvasWidthElement.php - Get configuration form's off-canvas width.
File
- src/
Plugin/ WebformElementBase.php, line 2348
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
public function getOffCanvasWidth() {
return WebformDialogHelper::DIALOG_NARROW;
}