You are here

function alchemy_util in Alchemy 6

Same name and namespace in other branches
  1. 7 alchemy.module \alchemy_util()
1 string reference to 'alchemy_util'
alchemy_menu in ./alchemy.module
Implementation of hook_menu().

File

./alchemy.module, line 49
DO NOT COMMIT TO DRUPAL CONTRIB! THIS MODULE IS FOR DEVELOPMENT ONLY.

Code

function alchemy_util($node = NULL, $type = NULL) {
  if (!$node) {
    $node = 1;
  }
  if (!$type) {
    $type = 'keywords';
  }
  $r = alchemy_get_elements_from_node($node, $type);
  dsm($r);
  print_r($r);
  return 'OK';
}