You are here

function ctools_js_to_arg in Chaos Tool Suite (ctools) 7

Provides the default value for %ctools_js.

This allows drupal_valid_path() to work with %ctools_js.

File

./ctools.module, line 968
CTools primary module file.

Code

function ctools_js_to_arg($arg) {
  return empty($arg) || $arg == '%' ? 'nojs' : $arg;
}