You are here

function node_skinr_ui_element_options in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 modules/node.skinr.inc \node_skinr_ui_element_options()

Implements hook_skinr_ui_element_options().

File

modules/node.skinr.inc, line 17
Implements Skinr hooks for node.module.

Code

function node_skinr_ui_element_options($theme_name = NULL) {
  $options = array(
    'node' => array(),
  );
  $types = node_type_get_types();
  foreach ($types as $type) {
    $options['node'][$type->type] = $type->name;
  }
  asort($options['node']);
  return $options;
}