src/Plugin/EntityBrowser/SelectionDisplay/View.php 1 location
|
@@ 109-113 (lines=5) @@
|
| 106 |
|
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { |
| 107 |
|
$values = $form_state->getValues(); |
| 108 |
|
|
| 109 |
|
if (!empty($values['view'])) { |
| 110 |
|
list($view_id, $display_id) = explode('.', $values['view']); |
| 111 |
|
$this->configuration['view'] = $view_id; |
| 112 |
|
$this->configuration['view_display'] = $display_id; |
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
} |
src/Plugin/EntityBrowser/Widget/View.php 1 location
|
@@ 260-264 (lines=5) @@
|
| 257 |
|
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { |
| 258 |
|
$values = $form_state->getValues()['table'][$this->uuid()]['form']; |
| 259 |
|
|
| 260 |
|
if (!empty($values['view'])) { |
| 261 |
|
list($view_id, $display_id) = explode('.', $values['view']); |
| 262 |
|
$this->configuration['view'] = $view_id; |
| 263 |
|
$this->configuration['view_display'] = $display_id; |
| 264 |
|
} |
| 265 |
|
} |
| 266 |
|
|
| 267 |
|
} |