You are here

function feature_load in Features 7.2

Same name and namespace in other branches
  1. 6 features.module \feature_load()
  2. 7 features.module \feature_load()

Menu wildcard loader for '%feature'.

Parameters

string $name: Path fragment.

bool $reset: (optional) If TRUE, the cache will be cleared before fetching.

Return value

\stdClass|false Object with module info, or FALSE if not found or not a feature.

1 call to feature_load()
features_revert_module in ./features.module
Revert a single features module.

File

./features.module, line 553
Main *.module file for the 'features' module.

Code

function feature_load($name, $reset = FALSE) {
  return features_load_feature($name, $reset);
}