mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API Use setTitleField to use MenuTitle for selecting internal links
This commit is contained in:
parent
99b2d9842a
commit
3364f5c52b
@ -23,7 +23,7 @@ class InternalLinkFormFactory extends LinkFormFactory
|
|||||||
SiteTree::class,
|
SiteTree::class,
|
||||||
'ID',
|
'ID',
|
||||||
'TreeTitle'
|
'TreeTitle'
|
||||||
),
|
)->setTitleField('MenuTitle'),
|
||||||
TextField::create(
|
TextField::create(
|
||||||
'Description',
|
'Description',
|
||||||
_t(__CLASS__.'.LINKDESCR', 'Link description')
|
_t(__CLASS__.'.LINKDESCR', 'Link description')
|
||||||
|
Loading…
Reference in New Issue
Block a user