theme.inc in Custom Publishing Options 6
Same filename and directory in other branches
Theme functions for Custom Publishing Options.
File
theme.incView source
<?php
/**
* @file
* Theme functions for Custom Publishing Options.
*/
/**
* Return markup for the edit form.
*/
function theme_custom_pub_edit_form($form) {
$type = $form['type']['#value'];
$head = array(
t('Label'),
t('Machine Name'),
t('Node Types'),
array(
'data' => '',
'class' => 'close-custom-pub-table',
),
);
$rows = array(
array(
drupal_render($form['state']),
$type['type'] . drupal_render($form['stateh']),
drupal_render($form['node_types']),
drupal_render($form),
),
);
$title = t('Edit @type option', array(
'@type' => $type['name'],
));
return theme('table', $head, $rows, NULL, $title);
}
Functions
Name | Description |
---|---|
theme_custom_pub_edit_form | Return markup for the edit form. |