[3.x] Add $titleLabel to BaseModuleController #1948
Labels
good first issue
Issues that are easy to get started with. Ideal for Twill beginners to dive into the code base.
type: enhancement
New feature or request
Summary
Currently it is possible to overwrite the "title" key for the "create modal" to something custom. This is done in the Controller (BaseModuleController).
For example:
protected $titleColumnKey = 'user_fullname';
When this is done the Label of said field will be displayed as "user_fullname", which is not very appealing.
It would be useful to be able to also overwrite the Label for that column key by either defining it like this:
protected $titleColumnLabel = 'User Fullname';
Or defining it directly as:
The text was updated successfully, but these errors were encountered: