You are here

function pmtask_form in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmtask/pmtask.module \pmtask_form()
  2. 7 pmtask/pmtask.module \pmtask_form()
  3. 7.2 pmtask/pmtask.module \pmtask_form()

Implements hook_form().

File

pmtask/pmtask.module, line 52
Hook implementations for PM Task.

Code

function pmtask_form($node, &$form_state) {
  $breadcrumb = array(
    array(
      'text' => t('Tasks'),
      'path' => 'pm/tasks',
    ),
  );
  pm_set_breadcrumb($breadcrumb);
  return node_content_form($node, $form_state);
}