silverstripe-framework/src/Forms/HTMLEditor/HTMLEditorField_Flash.php
2016-11-29 12:31:16 +13:00

18 lines
307 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;
}
}