silverstripe-framework/Forms/HTMLEditor/HTMLEditorField_Flash.php
Damian Mooyman 8dd644d25d
API Namespace all classes
Namespace all templates
Move difflib and BBCodeParser2 to thirdparty
Remove deprecated API marked for removal in 4.0
2016-09-08 10:23:17 +12:00

18 lines
280 B
PHP

<?php
namespace SilverStripe\Forms\HTMLEditor;
/**
* Generate flash file embed
*/
class HTMLEditorField_Flash extends HTMLEditorField_File
{
public function getFields()
{
$fields = parent::getFields();
$fields->removeByName('CaptionText', true);
return $fields;
}
}