You are here

WidgetTestBase.php in The CodeMirror Editor 8

File

tests/src/FunctionalJavascript/WidgetTestBase.php
View source
<?php

namespace Drupal\Tests\codemirror_editor\FunctionalJavascript;


/**
 * Base class for CodeMirror editor widget tests.
 */
abstract class WidgetTestBase extends TestBase {

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'field_ui',
  ];

  /**
   * The machine name of the content type of field to be tested.
   *
   * @var string
   */
  public $contentTypeName;

  /**
   * The machine name of the field to be tested.
   *
   * @var string
   */
  public $fieldName;

}

Classes

Namesort descending Description
WidgetTestBase Base class for CodeMirror editor widget tests.