mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
API Update method signature for CMSEditLink (#199)
This commit is contained in:
parent
9c2defe6ec
commit
791d49354d
@ -11,7 +11,7 @@ class ElementalBehatTestObject extends DataObject
|
|||||||
{
|
{
|
||||||
private static $table_name = 'ElementalBehatTestObject';
|
private static $table_name = 'ElementalBehatTestObject';
|
||||||
|
|
||||||
public function CMSEditLink()
|
public function getCMSEditLink(): ?string
|
||||||
{
|
{
|
||||||
$admin = ElementalBehatTestAdmin::singleton();
|
$admin = ElementalBehatTestAdmin::singleton();
|
||||||
$sanitisedClassname = str_replace('\\', '-', $this->ClassName);
|
$sanitisedClassname = str_replace('\\', '-', $this->ClassName);
|
||||||
|
Loading…
Reference in New Issue
Block a user