Skip to content
Snippets Groups Projects

fixes

All threads resolved!
Files
29
@@ -40,7 +40,7 @@ public function buildForm(array $form, FormStateInterface $form_state, ?EntityIn
$form_state->set('form_display_2', $form_display_2);
$form['entity_2'] = [
'#type' => 'details',
'#title' => t('Second entity'),
'#title' => $this->t('Second entity'),
'#tree' => TRUE,
'#parents' => ['entity_2'],
'#weight' => 50,
@@ -60,7 +60,7 @@ public function buildForm(array $form, FormStateInterface $form_state, ?EntityIn
$form['save'] = [
'#type' => 'submit',
'#value' => t('Save'),
'#value' => $this->t('Save'),
'#weight' => 100,
];
Loading