You are here

function _freelinking_nodetitle_default_failover in Freelinking 6.3

Same name and namespace in other branches
  1. 7.3 plugins/freelinking_nodetitle.inc \_freelinking_nodetitle_default_failover()

Find the best default failover

2 calls to _freelinking_nodetitle_default_failover()
freelinking_nodetitle_settings in plugins/freelinking_nodetitle.inc
Nodetitle Settings Callback
_freelinking_nodetitle_failure in plugins/freelinking_nodetitle.inc
Determining the proper failure response per plugin configuration

File

plugins/freelinking_nodetitle.inc, line 169

Code

function _freelinking_nodetitle_default_failover() {
  if (module_exists('freelinking_create')) {
    return 'create node';
  }
  elseif (module_exists('search')) {
    return 'search';
  }
  return 'none';
}