mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 09:05:46 +00:00
24 lines
495 B
PHP
24 lines
495 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
namespace A2nt\CMSNiceties\Extensions;
|
||
|
|
||
|
use SilverStripe\Forms\CheckboxField;
|
||
|
use SilverStripe\Forms\FieldList;
|
||
|
use SilverStripe\Forms\NumericField;
|
||
|
use SilverStripe\Forms\TextareaField;
|
||
|
use SilverStripe\Forms\TextField;
|
||
|
use SilverStripe\ORM\DataExtension;
|
||
|
|
||
|
class ImageExtension extends DataExtension
|
||
|
{
|
||
|
public function updateCMSFields(FieldList $fields)
|
||
|
{
|
||
|
parent::updateCMSFields($fields);
|
||
|
|
||
|
/*$fields->removeByName([
|
||
|
'Filename',
|
||
|
]);*/
|
||
|
}
|
||
|
}
|