src/Plugin/EntityBrowser/SelectionDisplay/View.php 1 location
|
@@ 111-115 (lines=5) @@
|
| 108 |
|
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { |
| 109 |
|
$values = $form_state->getValues(); |
| 110 |
|
|
| 111 |
|
if (!empty($values['view'])) { |
| 112 |
|
list($view_id, $display_id) = explode('.', $values['view']); |
| 113 |
|
$this->configuration['view'] = $view_id; |
| 114 |
|
$this->configuration['view_display'] = $display_id; |
| 115 |
|
} |
| 116 |
|
} |
| 117 |
|
} |
| 118 |
|
|
src/Plugin/EntityBrowser/Widget/View.php 1 location
|
@@ 244-248 (lines=5) @@
|
| 241 |
|
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { |
| 242 |
|
$values = $form_state->getValues()['table'][$this->uuid()]['form']; |
| 243 |
|
|
| 244 |
|
if (!empty($values['view'])) { |
| 245 |
|
list($view_id, $display_id) = explode('.', $values['view']); |
| 246 |
|
$this->configuration['view'] = $view_id; |
| 247 |
|
$this->configuration['view_display'] = $display_id; |
| 248 |
|
} |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
|