silverstripe-framework/src/Forms/DisabledTransformation.php
Sam Minnee 7a10c194bd NEW: Move code files into src/ folder.
This updates framework to be more in keeping with PHP conventions.
2016-11-01 13:37:24 +13: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();
}
}