public function DevelDebugLogDeleteForm::buildForm in Devel Debug Log 8
@inheritdoc
Overrides FormInterface::buildForm
File
- src/
Form/ DevelDebugLogDeleteForm.php, line 48
Class
Namespace
Drupal\devel_debug_log\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['ddl_clear'] = array(
'#type' => 'fieldset',
'#title' => $this
->t('Clear debug log messages'),
'#description' => $this
->t('This will permanently remove the log messages from the database.'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['ddl_clear']['clear'] = array(
'#type' => 'submit',
'#value' => $this
->t('Clear log messages'),
);
return $form;
}