mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
updated field name for caption text field.
This commit is contained in:
parent
50e33b8e5e
commit
06730bc1b3
@ -226,7 +226,7 @@ Example: Remove field for "image captions"
|
||||
// File: mysite/code/MyToolbarExtension.php
|
||||
class MyToolbarExtension extends Extension {
|
||||
public function updateFieldsForImage(&$fields, $url, $file) {
|
||||
$fields->removeByName('Caption');
|
||||
$fields->removeByName('CaptionText');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user