1 | <?php |
||
15 | class LoadedField |
||
16 | { |
||
17 | private $resolvedOptions; |
||
18 | private $resolvedFormOptions; |
||
19 | private $resolvedViewOptions; |
||
20 | private $resolvedStorageType; |
||
21 | private $resolver; |
||
22 | private $factory; |
||
23 | private $options; |
||
24 | private $field; |
||
25 | |||
26 | public function __construct(TypeFactory $factory, FieldInterface $field, array $options) |
||
32 | |||
33 | /** |
||
34 | * Return the resolved options for the field's form type. |
||
35 | */ |
||
36 | public function getFormOptions(): array |
||
47 | |||
48 | /** |
||
49 | * Return all of the field's resolved options. |
||
50 | */ |
||
51 | public function getOptions(): array |
||
61 | |||
62 | /** |
||
63 | * Return all the resolved options for the field's view. |
||
64 | */ |
||
65 | public function getViewOptions(): array |
||
76 | |||
77 | public function getViewType(): string |
||
81 | |||
82 | /** |
||
83 | * Return the configured storage type. |
||
84 | */ |
||
85 | public function getStorageType(): ConfiguredType |
||
95 | |||
96 | /** |
||
97 | * Return the actual field class. |
||
98 | */ |
||
99 | public function getInnerField(): FieldInterface |
||
103 | |||
104 | private function getResolver(): FieldOptionsResolver |
||
115 | } |
||
116 |