Skip to content
Snippets Groups Projects

Resolve #3457778 "Reorder dev settings checkboxes"

1 file
+ 8
7
Compare changes
  • Side-by-side
  • Inline
@@ -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',
Loading