function panels_book_parent_panels_relationships in Panels 5.2
Same name and namespace in other branches
- 6.2 relationships/book_parent.inc \panels_book_parent_panels_relationships()
@file relationships/book_parent.inc
Plugin to provide an relationship handler for book parent
File
- relationships/
book_parent.inc, line 10 - relationships/book_parent.inc
Code
function panels_book_parent_panels_relationships() {
$args['book_parent'] = array(
'title' => t("Book parent"),
'keyword' => 'book_parent',
'description' => t('Adds a book parent from a node context.'),
'required context' => new panels_required_context(t('Node'), 'node'),
'context' => 'panels_book_parent_context',
'settings form' => 'panels_book_parent_settings_form',
'settings form validate' => 'panels_book_parent_settings_form_validate',
);
return $args;
}