1.20.x layout.layout.inc layout_layout_relationship_info()

Implements hook_layout_relationship_info().

File

modules/layout/includes/layout.layout.inc, line 82
Contains hook implementations Layout module provides for itself.

Code

function layout_layout_relationship_info() {
  $info['author_from_node'] = array(
    'title' => t('Author of content'),
    'class' => 'LayoutRelationshipAuthorFromNode',
    'context' => 'node',
    'context_label' => t('Content'),
    'description' => t('Creates a user context from the author of a piece of content.'),
  );

  return $info;
}