function _features_get_ignore_keys in Features 7.2
Returns an array of keys to be ignored for various exportables.
@internal Designed for use within
@todo Add hook_features_ignore() in features.api.php.
Parameters
string $component: Name of a component type, e.g. "field_instance".
Return value
int[] Map of keys to ignore at specific recursion levels. Format: $[$key] = $level
See also
1 call to _features_get_ignore_keys()
- features_sanitize in ./
features.export.inc - Helper function to "sanitize" an array or object.
File
- ./
features.export.inc, line 1693 - Contains functions that export configuration into feature modules.
Code
function _features_get_ignore_keys($component) {
static $cache;
if (!isset($cache[$component])) {
$cache[$component] = module_invoke_all('features_ignore', $component);
}
return $cache[$component];
}