mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 13:36:12 +02:00
13 lines
289 B
PHP
13 lines
289 B
PHP
<?php
|
|
/**
|
|
* Transformation that disables all the fields on the form.
|
|
* @package forms
|
|
* @subpackage transformations
|
|
*/
|
|
class DisabledTransformation extends FormTransformation {
|
|
public function transform(FormField $field) {
|
|
return $field->performDisabledTransformation($this);
|
|
}
|
|
}
|
|
|