I am unable to make this module work:
1. I have created new content type called :template_test
2.Went to /admin/config/content/node-form-templates-settings
Added to YAML:
template_test:
template-janko:
label: Janko test
fields:
title: This is a title text
body: Some text
3. went to content > add content > template_test >
The website encountered an unexpected error. Please try again later.
TypeError: Cannot access offset of type string on string in node_form_templates_form_node_form_alter() (line 79 of modules/node_form_templates/node_form_templates.module).
#0 /core/lib/Drupal/Core/Extension/ModuleHandler.php(562): node_form_templates_form_node_form_alter()
Anyone can help ?
Closed: works as designed
1.3
Code