function ctools_node_author_content_type_edit_form
Returns an edit form for custom type settings.
File
-
plugins/
content_types/ node_context/ node_author.inc, line 46
Code
function ctools_node_author_content_type_edit_form($form, &$form_state) {
$conf = $form_state['conf'];
$form['link'] = array(
'#title' => t('Link to author profile'),
'#type' => 'checkbox',
'#default_value' => $conf['link'],
'#description' => t('Check here to link to the node author profile.'),
);
return $form;
}