1 | <?php |
||
14 | class AttributeOptionProcessor extends DrupalItemStep implements ItemProcessorInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var AttributeOptionNormalizer |
||
18 | */ |
||
19 | protected $attributeOptionNormalizer; |
||
20 | |||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $globalContext = array(); |
||
25 | |||
26 | /** |
||
27 | * @param AttributeOptionNormalizer $attributeOptionNormalizer The entity manager |
||
28 | */ |
||
29 | public function __construct( |
||
34 | |||
35 | /** |
||
36 | * @param Attribute $attribute |
||
37 | * @return array|mixed |
||
38 | * @throws InvalidItemException |
||
39 | */ |
||
40 | public function process($attribute) |
||
58 | |||
59 | /** |
||
60 | * @param AttributeOption $attributeOptionNormalizer |
||
61 | * @param array $context |
||
62 | * @return mixed |
||
63 | * @throws InvalidItemException |
||
64 | */ |
||
65 | protected function normalizeOption( |
||
83 | |||
84 | public function getConfigurationFields() |
||
88 | |||
89 | /** |
||
90 | * @param StepExecution $stepExecution |
||
91 | */ |
||
92 | public function setStepExecution(StepExecution $stepExecution) |
||
96 | } |
||
97 |