function spaces_form_alter in Spaces 5.2
Same name and namespace in other branches
- 5 spaces.module \spaces_form_alter()
- 6.3 spaces.overrides.inc \spaces_form_alter()
- 6 spaces.module \spaces_form_alter()
- 7.3 spaces.overrides.inc \spaces_form_alter()
- 7 spaces.overrides.inc \spaces_form_alter()
Implementation of hook_form_alter().
File
- ./
spaces.module, line 144
Code
function spaces_form_alter($form_id, &$form) {
if ($form['#id'] == 'node-form' && arg(0) . '/' . arg(1) != 'admin/content') {
spaces_router('node form', $form['#node']);
}
}