'#title'=>$this->t('Create log messages of JSON objects sent to the Gatsby preview server'),
'#description'=>$this->t('By checking this box, log messages will be created every time a POST request is sent to the Gatsby preview server. Useful for debugging the JSON object data that gets sent to Gatsby.<br /><strong>Note: this may have security implications, esure that only trusted users can access the logged messages. Should not be used on a production environment.</strong.'),
'#default_value'=>$config->get('log_json'),
'#weight'=>3,
];
$form['preview_entity_types']=[
'#type'=>'checkboxes',
'#options'=>$this->getContentEntityTypes(),
@@ -214,6 +221,7 @@ class GatsbyAdminForm extends ConfigFormBase {