Total Complexity | 4 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | trait OptionsTrait |
||
20 | { |
||
21 | /** |
||
22 | * The toolbar preset. |
||
23 | * Available values: basic, full, standard, custom (with configuration in [clientOptions]). |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | public $preset = 'standard'; |
||
28 | |||
29 | /** |
||
30 | * The options for the CKEditor 4. |
||
31 | * |
||
32 | * @var array |
||
33 | */ |
||
34 | public $clientOptions = []; |
||
35 | |||
36 | /** |
||
37 | * Set the clientOptions. |
||
38 | * Options from presets are merging with the client options. |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | protected function loadOptions(): void |
||
65 |