1 layout.layout.inc layout_layout_relationship_info()

Implements hook_layout_relationship_info().

File

core/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 account context based on the author of content.'),
  );

  return $info;
}