silverstripe-framework/Forms/DisabledTransformation.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

13 lines
266 B
PHP

<?php
namespace SilverStripe\Forms;
/**
* Transformation that disables all the fields on the form.
*/
class DisabledTransformation extends FormTransformation {
public function transform(FormField $field) {
return $field->performDisabledTransformation();
}
}