You are here

function _variable_unknown in Variable 7

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

Unknown variable

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

File

./variable.module, line 631
Variable API module

Code

function _variable_unknown($name) {
  return array(
    'name' => $name,
    'title' => t('Unknown variable @name', array(
      '@name' => $name,
    )),
    'type' => 'unknown',
    '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>.'),
  );
}