Conditions | 4 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
53 | public function submit(array &$form, FormStateInterface $form_state) { |
||
54 | if (($trigger = $form_state->getTriggeringElement()) && strpos($trigger['#name'], 'tab_selector_') === 0) { |
||
55 | if (!empty($this->widget_ids[$trigger['#widget_id']])) { |
||
56 | return $trigger['#widget_id']; |
||
57 | } |
||
58 | } |
||
59 | } |
||
60 | |||
62 |