function tripal_feature_preprocess_tripal_feature_proteins
2.x tripal_feature.theme.inc | tripal_feature_preprocess_tripal_feature_proteins(&$variables) |
3.x tripal_feature.theme.inc | tripal_feature_preprocess_tripal_feature_proteins(&$variables) |
1.x tripal_feature.module | tripal_feature_preprocess_tripal_feature_proteins(&$variables) |
Related topics
File
- tripal_feature/
tripal_feature.module, line 1937 - @todo Add file header description
Code
function tripal_feature_preprocess_tripal_feature_proteins(&$variables) {
// we want to provide a new variable that contains the matched features.
$feature = $variables['node']->feature;
if (!$feature->all_relationships) {
$feature->all_relationships = tripal_feature_get_feature_relationships($feature);
}
}