You are here

function _variable_unknown in Variable 7.2

Same name and namespace in other branches
  1. 7 variable.module \_variable_unknown()

Unknown variable

1 call to _variable_unknown()
_variable_variable in ./variable.module
Normalize variable data

File

./variable.module, line 668
Variable API module

Code

function _variable_unknown($name) {
  return array(
    'name' => $name,
    'title' => t('Unknown variable @name', array(
      '@name' => $name,
    )),
    'type' => 'unknown',
    'group' => 'default',
    'module' => 'variable',
    // Space for public service advertisement :-)
    'description' => t('We have no meta information for this variable. Please, ask module developers to declare their variables. See <a href="http://drupal.org/project/variable">Variable module</a>.'),
  );
}