create-controller-form-actions
Read @.ai/Component/Controller/CONTEXT.md for controller conventions (base class, DI, security attributes, error mapping).
Read @.ai/Component/Forms/CONTEXT.md for the settings-vs-CRUD decision tree. Then, depending on which branch this controller serves, load only the relevant pattern detail:
- CRUD action →
@.ai/Component/Forms/CRUD.md(FormBuilder + FormHandler pair, IdentifiableObject base classes) - Settings action →
@.ai/Component/Forms/SETTINGS.md(baseHandler, hooks, allowed exception)
Two patterns: CRUD entity forms inject the
FormBuilder+ IdentifiableObjectFormHandlerpair (sections 1–3 below). Settings forms inject the baseHandleronce (section 4 below). For the full settings-form stack (DataConfiguration + FormDataProvider + FormType + 4 YAML entries), the umbrella