protected function HostingPlatformGitForm::lockFields in Aegir Deploy 7.3
1 call to HostingPlatformGitForm::lockFields()
- HostingPlatformGitForm::alter in modules/
platform_git/ includes/ HostingPlatformGitForm.inc
File
- modules/
platform_git/ includes/ HostingPlatformGitForm.inc, line 32 - The HostingPlatformGitForm class.
Class
- HostingPlatformGitForm
- @file The HostingPlatformGitForm class.
Code
protected function lockFields() {
if (isset($this->node->platform_status) && $this->node->platform_status != HOSTING_PLATFORM_QUEUED) {
foreach ($this->fields as $field) {
$this
->makeFieldReadOnly($field);
}
}
}