function hosting_platform_form_platform_after_build in Hosting 7.3
Same name and namespace in other branches
- 6.2 platform/hosting_platform.module \hosting_platform_form_platform_after_build()
- 7.4 platform/hosting_platform.module \hosting_platform_form_platform_after_build()
After build callback for the hosting_platform_form.
1 string reference to 'hosting_platform_form_platform_after_build'
- hosting_platform_form in platform/
hosting_platform.module - Implements hook_form().
File
- platform/
hosting_platform.module, line 489 - Platform node type definition.
Code
function hosting_platform_form_platform_after_build($form) {
drupal_add_js(drupal_get_path('module', 'hosting_platform') . '/hosting_platform.js');
$form['frommakefile']['makefile']['#attributes']['class'][] = ' hosting-platform-working-copy-source';
$form['frommakefile']['make_working_copy']['#attributes']['class'][] = ' hosting-platform-working-copy-target';
return $form;
}