Commit aacc3d2b authored by Jim Berry's avatar Jim Berry
Browse files

Issue #3243890 by larisse Make label and weight translatable in ContainerForm.

parent 87b40f22
Loading
Loading
Loading
Loading
+2 −2
Changes for src/Form/ContainerForm.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ class ContainerForm extends EntityForm {
    // Build form elements.
    $form['label'] = [
      '#type' => 'textfield',
      '#title' => 'Label',
      '#title' => $this->t('Label'),
      '#default_value' => $container->label(),
      '#required' => TRUE,
    ];
@@ -160,7 +160,7 @@ class ContainerForm extends EntityForm {

    $fieldset['weight'] = [
      '#type' => 'weight',
      '#title' => 'Weight',
      '#title' => $this->t('Weight'),
      '#default_value' => $container->get('weight'),
    ];