You are here

function spaces_form_alter in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces.module \spaces_form_alter()
  2. 6.3 spaces.overrides.inc \spaces_form_alter()
  3. 6 spaces.module \spaces_form_alter()
  4. 7.3 spaces.overrides.inc \spaces_form_alter()
  5. 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']);
  }
}