silverstripe-framework/forms/DisabledTransformation.php

19 lines
340 B
PHP
Raw Normal View History

<?php
/**
* @package forms
* @subpackage transformations
*/
/**
* 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);
}
}
?>