content_placeholder.inc in Panels Sections 7.3
File
plugins/content_types/content_placeholder.inc
View source
<?php
$plugin = array(
'title' => t('Page content placeholder'),
'single' => TRUE,
'icon' => 'icon_page.png',
'description' => t('Page content that is available if the panel is being used to wrap content with the Panels Everywhere module.'),
'category' => t('Page elements'),
);
function panels_sections_content_placeholder_content_type_render($subtype, $conf, $panel_args, $context) {
$block = new stdClass();
$block->content = PANELS_SECTIONS_PLACEHOLDER;
return $block;
}
function panels_sections_content_placeholder_content_type_edit_form($form, &$form_state) {
return $form;
}
function panels_sections_content_placeholder_content_type_admin_info($subtype, $conf, $context) {
$block = new StdClass();
$block->title = t('Main page content');
$block->content = t('This will contain the content of page being viewed. In order to get the page title to be used as a Panel title, it is recommended that you set the "Title type" to "From pane" and then check "Panel title" in the dropdown menu for this pane.');
return $block;
}