silverstripe-framework/forms/DisabledTransformation.php
Fred Condo d370423825 Clean up trailing ?> per coding standard
All sapphire but the lang directory
2012-02-12 12:40:16 -08:00

13 lines
279 B
PHP

<?php
/**
* Transformation that disables all the fields on the form.
* @package forms
* @subpackage transformations
*/
class DisabledTransformation extends FormTransformation {
public function transform($field) {
return $field->performDisabledTransformation($this);
}
}