1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace BristolSU\Module\StaticPage\VueFields; |
||
4 | |||
5 | use FormSchema\Schema\Field; |
||
6 | |||
7 | class HtmlField extends Field |
||
0 ignored issues
–
show
|
|||
8 | { |
||
9 | |||
10 | protected $type = 'staticPageHtml'; |
||
11 | |||
12 | /** |
||
13 | * TinyMCE API key for the HTML editor. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $apiKey = ''; |
||
18 | |||
19 | /** |
||
0 ignored issues
–
show
|
|||
20 | * @inheritDoc |
||
21 | */ |
||
0 ignored issues
–
show
|
|||
22 | 1 | public function getAppendedAttributes(): array |
|
23 | { |
||
24 | return [ |
||
0 ignored issues
–
show
|
|||
25 | 1 | 'apiKey' => $this->apiKey |
|
26 | ]; |
||
0 ignored issues
–
show
|
|||
27 | } |
||
28 | } |
||
29 |