mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Add element anchor name
This commit is contained in:
parent
442ada037d
commit
5b887ff222
@ -31,7 +31,7 @@ class BaseElementEx extends DataExtension
|
||||
|
||||
$fields->addFieldToTab('Root.Main', LiteralField::create(
|
||||
'AnchorName',
|
||||
'Element Anchor name: #e'.$this->ID
|
||||
'Element Anchor name: #e'.$obj->ID
|
||||
));
|
||||
|
||||
$tab = $fields->findOrMakeTab('Root.Settings');
|
||||
|
Loading…
Reference in New Issue
Block a user