Verified Commit 7608e93e authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3457778 by markconroy, ressa: Reorder checkboxes on "Development settings" page

(cherry picked from commit b06bf11b)
parent f323ffae
Loading
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -64,6 +64,14 @@ public function buildForm(array $form, FormStateInterface $form_state) {
        'checked' => TRUE,
      ],
    ];

    $form['disable_rendered_output_cache_bins'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Do not cache markup'),
      '#description' => $this->t('Disables render cache, dynamic page cache, and page cache.'),
      '#default_value' => $development_settings->get('disable_rendered_output_cache_bins', FALSE),
    ];

    $form['twig_development_mode'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Twig development mode'),
@@ -98,13 +106,6 @@ public function buildForm(array $form, FormStateInterface $form_state) {
      ];
    }

    $form['disable_rendered_output_cache_bins'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Do not cache markup'),
      '#description' => $this->t('Disables render cache, dynamic page cache, and page cache.'),
      '#default_value' => $development_settings->get('disable_rendered_output_cache_bins', FALSE),
    ];

    $form['actions']['#type'] = 'actions';
    $form['actions']['submit'] = [
      '#type' => 'submit',