1.9 Release
Changelog
- Enh 94027d8 : rename setting search class, add additional properties to DefaultController
Now you can override views files, setting model class and setting search class in the following way:
'admin' => [
'modules' => [
'settings' => [
'class' => 'yii2mod\settings\Module',
// Some controller properties maybe need to change.
'controllerMap' => [
'default' => [
'class' => 'yii2mod\settings\controllers\DefaultController',
'indexView' => 'custom path to index view file',
'createView' => 'custom path to create view file',
'updateView' => 'custom path to update view file',
'settingSearchClass' => 'Your own search model class',
'settingModelClass' => 'Your own setting model class',
]
]
],
],
]