function features_component_is_locked in Features 7.2
Returns whether a component is locked.
Parameters
string $component: A component name, e.g. 'field_instance'.
Return value
bool TRUE, if the component is locked globally.
2 calls to features_component_is_locked()
- features_feature_is_locked in ./
features.module - Returns whether a feature or its component is locked.
- theme_features_lock_link in theme/
theme.inc - Themes a lock link.
File
- ./
features.module, line 1474 - Main *.module file for the 'features' module.
Code
function features_component_is_locked($component) {
return variable_get('features_component_locked_' . $component, FALSE);
}