Redirects to a different URL.
Action functions are declared by modules by implementing hook_action_info(). Modules can cause action functions to run by calling actions_do().
object $entity: An optional node entity, which will be added as $context['node'] if provided.
array $context: Array with the following elements:
function action_goto_action($entity, $context) {
drupal_goto(token_replace($context['url'], $context));
}