You are here

protected function HostingForm::disableField in Aegir Objects 7.3

Hide a form field.

File

classes/HostingForm.inc, line 68
The HostingForm class.

Class

HostingForm
@file The HostingForm class.

Code

protected function disableField($field) {
  $this->form[$field]['#access'] = FALSE;
}