Version: current

     1 <?php
     2 /**
     3  * Transformation that disables all the fields on the form.
     4  * @package forms
     5  * @subpackage transformations
     6  */
     7 class DisabledTransformation extends FormTransformation {
     8     public function transform($field) {
     9         return $field->performDisabledTransformation($this);
    10     }
    11 }
    12
    13 ?>

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -