You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thorazine edited this page Jul 23, 2017
·
1 revision
Every module has one or more fields that need to be defined. Instead of writing all the html and logic all over again for every field inputs were created. In the model for a Module or Builder you will find the types() function. Within this function you can easily define all the inputs you need for that module.
Please do note that you should not use nameless function in the types array due to cache. Instead make use of the automatic function binding capabilities.