mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1910 from open-sausages/pulls/4.0/menu-title-tree
API Use setTitleField to use MenuTitle for selecting internal links
This commit is contained in:
commit
a92261cc9b
@ -23,7 +23,7 @@ class InternalLinkFormFactory extends LinkFormFactory
|
||||
SiteTree::class,
|
||||
'ID',
|
||||
'TreeTitle'
|
||||
),
|
||||
)->setTitleField('MenuTitle'),
|
||||
TextField::create(
|
||||
'Description',
|
||||
_t(__CLASS__.'.LINKDESCR', 'Link description')
|
||||
|
Loading…
Reference in New Issue
Block a user