public function HostingPlatformGitForm::alter in Aegir Deploy 7.3
File
- modules/
platform_git/ includes/ HostingPlatformGitForm.inc, line 23 - The HostingPlatformGitForm class.
Class
- HostingPlatformGitForm
- @file The HostingPlatformGitForm class.
Code
public function alter() {
$this
->disableField('field_git_repository_path');
$this
->lockFields();
$this
->moveFieldsIntoFieldset('platform_git', $this->fields);
$this->form['platform_git']['#title'] = 'Deploy from Git';
$this->form['platform_git']['#description'] = 'You may deploy this platform from a Git repository. This strategy is appropriate for hosting scenarios where multiple sites will share common platforms.';
$this
->addSubmitHandler('hosting_platform_git_platform_submit');
}