Minor updates

This commit is contained in:
Tony Air 2022-04-11 11:49:41 +02:00
parent 3e14d50401
commit d955523d45

View File

@ -41,7 +41,7 @@ class MapElement extends ElementContent
MapExtension::class,
];
public function getType():string
public function getType(): string
{
return self::$singular_name;
}
@ -61,7 +61,7 @@ class MapElement extends ElementContent
GridField::create(
'Locations',
'Locations',
$this->owner->Locations(),
$this->Locations(),
$cfg = GridFieldConfig_RelationEditor::create(100)
)
]);