You are here

function smartqueue_domain_nodequeue_subqueues in Smartqueue Domain 7

Implements hook_nodequeue_subqueues().

File

./smartqueue_domain.module, line 60

Code

function smartqueue_domain_nodequeue_subqueues(&$queue, $node) {
  smartqueue_domain_check_subqueues($queue);
  $domain = domain_get_domain();
  $domain = domain_lookup($domain['domain_id']);
  $refs = array(
    $queue->name . ':domain:' . $domain['machine_name'] . ':' . $domain['domain_id'],
  );
  return $refs;
}