You are here

function _scs_get_node_types in Simplenews Content Selection 6.2

Same name and namespace in other branches
  1. 6 scs.admin.inc \_scs_get_node_types()
1 call to _scs_get_node_types()
scs_admin_settings_form in ./scs.admin.inc

File

./scs.admin.inc, line 79

Code

function _scs_get_node_types() {
  $options = array();
  foreach (node_get_types() as $name => $type) {
    $options[$name] = $type->name;
  }
  return $options;
}