diff --git a/src/Form/JsonapiResourceConfigForm.php b/src/Form/JsonapiResourceConfigForm.php index 3e32e8a21134927ff9d9f8ac3ca09a50ee13ed92..c58b181a680e154ced934488099269003a67b179 100644 --- a/src/Form/JsonapiResourceConfigForm.php +++ b/src/Form/JsonapiResourceConfigForm.php @@ -303,17 +303,20 @@ class JsonapiResourceConfigForm extends EntityForm { $overrides_form['overrides']['fields'] = [ '#type' => 'details', '#title' => $this->t('Fields'), - '#description' => $this->t('Override configuration for the resource fields.'), '#open' => TRUE, ]; + $markup .= ''; + $markup .= '
'; + $markup .= '
' . t('Disabled') . '
'; + $markup .= '
' . t('Check this if you want to disable this field completely. Disabling required fields will cause problems when writing to the resource.') . '
'; + $markup .= '
' . t('Alias') . '
'; + $markup .= '
' . t('Overrides the field name with a custom name. Example: Change "field_tags" to "tags".') . '
'; + $markup .= '
' . t('Enhancer') . '
'; + $markup .= '
' . t('Select an enhancer to manipulate the public output coming in and out.') . '
'; + $markup .= '
'; $overrides_form['overrides']['fields']['info'] = [ - '#theme' => 'item_list', - '#items' => [ - $this->t('Disabled: Check this if you want to disable this field completely. Disabling required fields will cause problems when writing to the resource.'), - $this->t('Alias: Overrides the field name with a custom name. Example: Change "field_tags" to "tags".'), - $this->t('Enhancer: Select an enhancer to manipulate the public output coming in and out.'), - ], + '#markup' => $markup, ]; $overrides_form['overrides']['fields']['resourceFields'] = [