- Issue created by @Miguel Andrade
- 🇵🇹Portugal Miguel Andrade
Also, I'm using a Workflow state for the new entity type. If I have a mandatory comment configured for the workflow initial state, it does not get enforced. Maybe it's the same problem.
I do not see the errors displayed on the form, like if you don't fill the title. The form gets reloaded, but no indication of what went wrong appears. I'm not sure if I have any theme issue here
- 🇫🇷France lazzyvn paris
I don't understand the problem you're presenting. If you don't have experience using Drupal, you can hire an expert who might know how to explain the problem more clearly.
- 🇵🇹Portugal Miguel Andrade
Well, let me try to make it very clear:
at least this modules:
- Automatic Entity Label
- Workflow (if you make the workflow transition comment mandatory)
- Node Reference URL Widget
Do not work with your module.
I suspect any contrib module that changes something on the entity form does not work also
That's it.
- 🇫🇷France lazzyvn paris
Surely not. But with Drupal you have enough hooks to do what you want hook form, node presave,...
Basically, it only calls the entity's form builder. If other modules also do the same mechanism, it'll works. If you want, you can create a patch and I will merge it in the module - 🇵🇹Portugal Miguel Andrade
Yes, that was my idea for proposing a solution. Anyway, I moved on, I'm using another solution. I also couldn't find a way to translate the text appearing in the modal.
Anyway, thanks for your time
- 🇫🇷France lazzyvn paris
Which text can't you translate? In the module there is no text to translate if you want the title of the modal to create entity, in hook form you can use classic drupal with $form['#title'] = 'whatever'