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