Issue #3225381 by mikelutz, jrockowitz, yivanov, Spokje, larowlan, longwave, parkh, AdamPS, gcb: PHP Notice logged when switching "Configuration type" in single configuration export screen
parent
433f2ae0fd
commit
ddd29c4ca2
|
@ -136,7 +136,7 @@ class ConfigSingleExportForm extends FormBase {
|
||||||
*/
|
*/
|
||||||
public function updateConfigurationType($form, FormStateInterface $form_state) {
|
public function updateConfigurationType($form, FormStateInterface $form_state) {
|
||||||
$form['config_name']['#options'] = $this->findConfiguration($form_state->getValue('config_type'));
|
$form['config_name']['#options'] = $this->findConfiguration($form_state->getValue('config_type'));
|
||||||
unset($form['export']['#value']);
|
$form['export']['#value'] = NULL;
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue