protected function HostingPlatformGitForm::setRepositoryPath in Aegir Deploy 7.3
1 call to HostingPlatformGitForm::setRepositoryPath()
- HostingPlatformGitForm::submit in modules/
platform_git/ includes/ HostingPlatformGitForm.inc
File
- modules/
platform_git/ includes/ HostingPlatformGitForm.inc, line 45 - The HostingPlatformGitForm class.
Class
- HostingPlatformGitForm
- @file The HostingPlatformGitForm class.
Code
protected function setRepositoryPath() {
if ($this
->isANewNode() && !empty($this
->getFormStateValue('field_git_repository_url'))) {
$this
->setFormStateValue('field_git_repository_path', $this
->getFormStateValue('publish_path'));
}
}