function node_type_load in Migrate 6.2
1 call to node_type_load()
- MigrateDestinationNode::fields in plugins/
destinations/ node.inc - Returns a list of fields available to be mapped for the node type (bundle)
File
- includes/
d7.inc, line 14 - Drupal 7 functions 'n' things implemented in Drupal 6, to ease backporting
Code
function node_type_load($type) {
static $node_types;
if (!isset($node_types)) {
$node_types = node_get_types();
}
return $node_types[$type];
}