src/Plugin/EntityBrowser/SelectionDisplay/View.php 1 location
|
@@ 114-118 (lines=5) @@
|
111 |
|
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { |
112 |
|
$values = $form_state->getValues(); |
113 |
|
|
114 |
|
if (!empty($values['view'])) { |
115 |
|
list($view_id, $display_id) = explode('.', $values['view']); |
116 |
|
$this->configuration['view'] = $view_id; |
117 |
|
$this->configuration['view_display'] = $display_id; |
118 |
|
} |
119 |
|
} |
120 |
|
|
121 |
|
/** |
src/Plugin/EntityBrowser/Widget/View.php 1 location
|
@@ 264-268 (lines=5) @@
|
261 |
|
$values = $form_state->getValues()['table'][$this->uuid()]['form']; |
262 |
|
$this->configuration['submit_text'] = $values['submit_text']; |
263 |
|
$this->configuration['auto_select'] = $values['auto_select']; |
264 |
|
if (!empty($values['view'])) { |
265 |
|
list($view_id, $display_id) = explode('.', $values['view']); |
266 |
|
$this->configuration['view'] = $view_id; |
267 |
|
$this->configuration['view_display'] = $display_id; |
268 |
|
} |
269 |
|
} |
270 |
|
|
271 |
|
/** |