| 59 |
else { |
else { |
| 60 |
drupal_write_record('simpletest_automator', $data); |
drupal_write_record('simpletest_automator', $data); |
| 61 |
} |
} |
|
foreach ($actions as $action) { |
|
|
simpletest_automator_action_save($action); |
|
|
} |
|
| 62 |
return $data->said; |
return $data->said; |
| 63 |
} |
} |
| 64 |
|
|
| 266 |
'load arguments' => array(TRUE), |
'load arguments' => array(TRUE), |
| 267 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_LOCAL_TASK, |
| 268 |
); |
); |
| 269 |
|
$items['admin/build/simpletest_automator/%simpletest_automator/record'] = array( |
| 270 |
|
'title' => 'Record', |
| 271 |
|
'page callback' => 'simpletest_automator_admin_record', |
| 272 |
|
'page arguments' => array(3), |
| 273 |
|
'weight' => 5, |
| 274 |
|
'load arguments' => array(TRUE), |
| 275 |
|
'type' => MENU_LOCAL_TASK, |
| 276 |
|
); |
| 277 |
$items['admin/build/simpletest_automator/%simpletest_automator/delete'] = array( |
$items['admin/build/simpletest_automator/%simpletest_automator/delete'] = array( |
| 278 |
'title' => 'Delete', |
'title' => 'Delete', |
| 279 |
'page arguments' => array('simpletest_automator_admin_delete', 3), |
'page arguments' => array('simpletest_automator_admin_delete', 3), |
| 280 |
'weight' => 5, |
'weight' => 6, |
| 281 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_LOCAL_TASK, |
| 282 |
'load arguments' => array(TRUE), |
'load arguments' => array(TRUE), |
| 283 |
); |
); |