protected function HostingPlatformComposerGitForm::lockFields in Aegir Deploy 7.3
1 call to HostingPlatformComposerGitForm::lockFields()
- HostingPlatformComposerGitForm::alter in modules/
platform_composer_git/ includes/ HostingPlatformComposerGitForm.inc
File
- modules/
platform_composer_git/ includes/ HostingPlatformComposerGitForm.inc, line 42 - The HostingPlatformComposerGitForm class.
Class
- HostingPlatformComposerGitForm
- @file The HostingPlatformComposerGitForm 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);
}
}
}