function noderelationships_alter_label in Node Relationships 6
Allow external modules alter noderelationships labels.
Hook prototype:
hook_noderelationships_label_alter(&$label, $label_id, $context, $arguments);
Parameters
$label: The default value for the label.
$label_id: An string that identifies whice label it is.
$context: An array with information about the context.
$arguments: An array with arguments that the label depends on.
3 calls to noderelationships_alter_label()
- noderelationships_backref_render_view in ./
noderelationships.pages.inc - Display a back reference view.
- noderelationships_customize_backref_view in ./
noderelationships.inc - Apply custom configuration to the given back reference view.
- noderelationships_customize_noderef_view in ./
noderelationships.inc - Apply custom configuration to the given search and reference view.
File
- ./
noderelationships.inc, line 707 - Common functions for the noderelationships module.
Code
function noderelationships_alter_label(&$label, $label_id, $context, $arguments) {
drupal_alter('noderelationships_label', $label, $label_id, $context, $arguments);
}