silverstripe-framework/Forms/HTMLEditor/HTMLEditorField_Flash.php

18 lines
280 B
PHP
Raw Normal View History

<?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;
}
}