mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Use controller_name static config instead of method for better inheritance
This commit is contained in:
parent
5184f84ff3
commit
9f7e55b346
@ -29,8 +29,8 @@ class UserDefinedForm extends Page
|
|||||||
*/
|
*/
|
||||||
private static $table_name = 'UserDefinedForm';
|
private static $table_name = 'UserDefinedForm';
|
||||||
|
|
||||||
public function getControllerName()
|
/**
|
||||||
{
|
* @var string
|
||||||
return UserDefinedFormController::class;
|
*/
|
||||||
}
|
private static $controller_name = UserDefinedFormController::class;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user