You are here

public constant TwigWidget::REQUIRED_CODEMIRROR_MODES in Twig Field 8

File

src/Plugin/Field/FieldWidget/TwigWidget.php, line 24

Class

TwigWidget
Defines the Twig field widget.

Namespace

Drupal\twig_field\Plugin\Field\FieldWidget

Code

public const REQUIRED_CODEMIRROR_MODES = [
  'xml',
  'twig',
  'javascript',
  'css',
];