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:
Chris Joe 2017-07-27 15:00:24 +12:00 committed by GitHub
commit a92261cc9b

View File

@ -23,7 +23,7 @@ class InternalLinkFormFactory extends LinkFormFactory
SiteTree::class,
'ID',
'TreeTitle'
),
)->setTitleField('MenuTitle'),
TextField::create(
'Description',
_t(__CLASS__.'.LINKDESCR', 'Link description')