| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function submit(array &$form, FormStateInterface $form_state) { |
||
| 32 | // Only finish selection if the form was submitted using main submit |
||
| 33 | // element. This allows widgets to build multi-step workflows. |
||
| 34 | if (!empty($form_state->getTriggeringElement()['#eb_widget_main_submit'])) { |
||
| 35 | $this->selectionDone($form_state); |
||
| 36 | } |
||
| 37 | } |
||
| 38 | |||
| 40 |