editor.css |
css/editor.css |
|
.field--type-twig .form-type-textarea {
margin-bottom: 0;
}
.twig-field-editor-footer {
background-color: #f5f5f5;
border: solid 1px #999;
margin-top: -1px;
padding: 3px 7px 0 7px;
} |
README.txt |
README.txt |
|
Twig field
==========
A simple module that provides Twig field type.
Important:
Do not allow untrusted users to edit Twig templates as it may cause security
implications. See https://www.drupal.org/node/2860607 for details. |
TestBase.php |
tests/src/FunctionalJavascript/TestBase.php |
Drupal\Tests\twig_field\FunctionalJavascript |
|
TwigFieldTest.php |
tests/src/FunctionalJavascript/TwigFieldTest.php |
Drupal\Tests\twig_field\FunctionalJavascript |
|
TwigFormatter.php |
src/Plugin/Field/FieldFormatter/TwigFormatter.php |
Drupal\twig_field\Plugin\Field\FieldFormatter |
|
TwigItem.php |
src/Plugin/Field/FieldType/TwigItem.php |
Drupal\twig_field\Plugin\Field\FieldType |
|
TwigWidget.php |
src/Plugin/Field/FieldWidget/TwigWidget.php |
Drupal\twig_field\Plugin\Field\FieldWidget |
|
twig_field.info.yml |
twig_field.info.yml |
|
twig_field.info.yml |
twig_field.libraries.yml |
twig_field.libraries.yml |
|
twig_field.libraries.yml |
twig_field.module |
twig_field.module |
|
Primary module hooks for Twig field module. |
twig_field.permissions.yml |
twig_field.permissions.yml |
|
twig_field.permissions.yml |
twig_field.schema.yml |
config/schema/twig_field.schema.yml |
|
config/schema/twig_field.schema.yml |