Use controller_name static config instead of method for better inheritance

This commit is contained in:
Alexandre 2021-09-17 08:23:39 +12:00
parent 5184f84ff3
commit 9f7e55b346

View File

@ -29,8 +29,8 @@ class UserDefinedForm extends Page
*/
private static $table_name = 'UserDefinedForm';
public function getControllerName()
{
return UserDefinedFormController::class;
}
/**
* @var string
*/
private static $controller_name = UserDefinedFormController::class;
}