I have implemented a content type using configuration export and adding it in a module. So whenever a user installs the module, the content type is created along with the its fields.
What happens if I want to add a new field? If I add a new field to the configuration, it will not be created in the DB until the module is uninstalled and re-installed. How can I add the field in the DB without having to uninstall/re-install?
Hey, everybody, I'm new in Drupal. I'm working with version 8 and I've created a form, which when it sends, datas are sent to RESTAPI with remote url handler, and afterword it shows a modal with thank you message. I'm trying to show in the modal window the data that has been sent it in the form but I can't find a way to do it. Can you give me some guidance? Thank you
The widget has a custom setting called locale. Meaning it is a select box here: /admin/structure/types/manage/article/fields/node.article.field_amz/storage
I am not able to save the vale i input there. So what one has to do that the form element $element['locale'] is actually saved and can be retrived late?
After the submit button is clicked, each form adds a parameter to the url, so that it could be retrieved in the Controller code. Both forms are also redirected to the Custom page after submit.