You are here

function example_drupal_execute in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/tests/old/samples/example.module \example_drupal_execute()

File

coder_upgrade/tests/old/samples/example.module, line 1631

Code

function example_drupal_execute() {

  // drupal_execute() -- Change the next line but leave this alone
  drupal_execute('story_node_form', $form_state, (object) $node);
  if (drupal_execute('story_node_form', $form_state, (object) $node)) {
  }
}