1 node.module | node_block_configure($delta = '', $settings = array()) |
Implements hook_block_configure().
File
- core/
modules/ node/ node.module, line 2108 - The core module that allows content to be submitted to the site.
Code
function node_block_configure($delta = '', $settings = array()) {
$form = array();
if ($delta == 'syndicate') {
$form['syndicate_settings'] = array(
'#type' => 'radios',
'#title' => t('Choose the linked feed'),
'#default_value' => isset($settings['syndicate_settings']) ? $settings['syndicate_settings'] : 'promoted',
'#options' => array(
'promoted' => t('Always show RSS link for promoted content'),
'page_content' => t('Show RSS link for the current page, if available'),
),
);
}
return $form;
}