mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
NEW Add update extension hooks for LinkFormFactory subclasses
This commit is contained in:
parent
5bfc37ff4b
commit
12907271ff
@ -48,6 +48,8 @@ class InternalLinkFormFactory extends LinkFormFactory
|
|||||||
$fields->insertAfter('PageID', TextField::create('Text', _t(__CLASS__.'.LINKTEXT', 'Link text')));
|
$fields->insertAfter('PageID', TextField::create('Text', _t(__CLASS__.'.LINKTEXT', 'Link text')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->extend('updateFormFields', $fields, $controller, $name, $context);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user