function city_magazine_custom_node_form($form) { // Remove 'Log message' text area $form['revision_information']['#access'] = user_access('view revisions'); return theme_node_form($form); }
function bbcom_theme_node_form($form) { if ($form['#node']->type == LingwoEntry::$settings->content_type) { $form['title']['#inline'] = TRUE; $form['language']['#inline'] = TRUE; $form['pos']['#inline'] = TRUE; } return theme_node_form($form); }