Blame view

framework/forms/DisabledTransformation.php 289 Bytes
0084d336   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
  <?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);
  	}
  }