mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
Minor updates
This commit is contained in:
parent
3e14d50401
commit
d955523d45
@ -41,7 +41,7 @@ class MapElement extends ElementContent
|
|||||||
MapExtension::class,
|
MapExtension::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
public function getType():string
|
public function getType(): string
|
||||||
{
|
{
|
||||||
return self::$singular_name;
|
return self::$singular_name;
|
||||||
}
|
}
|
||||||
@ -61,7 +61,7 @@ class MapElement extends ElementContent
|
|||||||
GridField::create(
|
GridField::create(
|
||||||
'Locations',
|
'Locations',
|
||||||
'Locations',
|
'Locations',
|
||||||
$this->owner->Locations(),
|
$this->Locations(),
|
||||||
$cfg = GridFieldConfig_RelationEditor::create(100)
|
$cfg = GridFieldConfig_RelationEditor::create(100)
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user