Tripal v1.0 (6.x-1.0)
|
Go to the source code of this file.
Functions | |
tripal_cv_init () | |
tripal_cv_menu () | |
tripal_cv_perm () | |
tripal_cv_views_api () | |
tripal_cv_coder_ignore () | |
tripal_cv_form_alter (&$form, &$form_state, $form_id) | |
tripal_cv_theme () |
tripal_cv_coder_ignore | ( | ) |
Implements hook_coder_ignore(). Defines the path to the file (tripal_cv.coder_ignores.txt) where ignore rules for coder are stored
Definition at line 216 of file tripal_cv.module.
{ return array( 'path' => drupal_get_path('module', 'tripal_cv'), 'line prefix' => drupal_get_path('module', 'tripal_cv'), ); }
tripal_cv_form_alter | ( | &$ | form, |
&$ | form_state, | ||
$ | form_id | ||
) |
Definition at line 226 of file tripal_cv.module.
{ if ($form_id == "tripal_cv_cvterm_form") { // updating the form through the ahah callback sets the action of // the form to the ahah callback URL. We need to set it back // to the normal form URL if ($form_state['values']['form_action'] == 'edit') { $form['#action'] = url("admin/tripal/tripal_cv/cvterm/edit"); } else { $form['#action'] = url("admin/tripal/tripal_cv/cvterm/add"); } } }