You are here

TestWebformOffCanvasWidthHandler.php in Webform 6.x

File

tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformOffCanvasWidthHandler.php
View source
<?php

namespace Drupal\webform_test_handler\Plugin\WebformHandler;

use Drupal\webform\Plugin\WebformHandlerBase;
use Drupal\webform\Utility\WebformDialogHelper;

/**
 * Webform submission test off-canvas width handler.
 *
 * @WebformHandler(
 *   id = "test_offcanvas_width",
 *   label = @Translation("Test off-canvas width"),
 *   category = @Translation("Testing"),
 *   description = @Translation("Tests handler off-canvas width.")
 * )
 */
class TestWebformOffCanvasWidthHandler extends WebformHandlerBase {

  /**
   * {@inheritdoc}
   */
  public function getOffCanvasWidth() {
    return WebformDialogHelper::DIALOG_WIDE;
  }

}

Classes

Namesort descending Description
TestWebformOffCanvasWidthHandler Webform submission test off-canvas width handler.