You are here

function hook_entityqueue_api in Entityqueue 7

This hook is needed to allow modules to provide their own queues.

If you do this, CTools will look for default queues in <modulename>.entityqueue_default.inc

Return value

array An associative array containing the entityqueue version.

See also

hook_entityqueue_default_queues()

File

./entityqueue.api.php, line 24
Hooks provided by Entityqueue.

Code

function hook_entityqueue_api($module = NULL, $api = NULL) {
  if ($module == 'entityqueue' && $api == 'entityqueue_default') {
    return array(
      'version' => '1',
    );
  }
}