You are here

function hosting_platform_form_platform_after_build in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 platform/hosting_platform.module \hosting_platform_form_platform_after_build()
  2. 7.3 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 507
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;
}