1 | <?php |
||
2 | /** |
||
3 | * Twigfield for Craft CMS |
||
4 | * |
||
5 | * Provides a twig editor field with Twig & Craft API autocomplete |
||
6 | * |
||
7 | * @link https://nystudio107.com |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
8 | * @copyright Copyright (c) 2022 nystudio107 |
||
0 ignored issues
–
show
|
|||
9 | */ |
||
0 ignored issues
–
show
|
|||
10 | |||
11 | /** |
||
0 ignored issues
–
show
|
|||
12 | * @author nystudio107 |
||
0 ignored issues
–
show
|
|||
13 | * @package Twigfield |
||
0 ignored issues
–
show
|
|||
14 | * @since 1.0.0 |
||
0 ignored issues
–
show
|
|||
15 | */ |
||
16 | return [ |
||
17 | 'Error rendering template string -> {error}' => 'Error rendering template string -> {error}', |
||
18 | 'Is not a string.' => 'Is not a string.', |
||
19 | 'Twig Function' => 'Twig Function', |
||
20 | 'Twig Filter' => 'Twig Filter', |
||
21 | 'Twig Tag' => 'Twig Tag', |
||
22 | 'Custom Field Shorthand' => 'Custom Field Shorthand', |
||
23 | 'Field Shorthand' => 'Field Shorthand', |
||
24 | 'Twig code is supported.' => 'Twig code is supported.', |
||
25 | ]; |
||
26 |