You are here

function content_features_fields_normal in Features 6

Helper function: retrieve normal fields by node type.

2 calls to content_features_fields_normal()
node_features_export_render in includes/features.node.inc
Implementation of hook_features_export_render().
node_features_revert in includes/features.node.inc
Implementation of hook_features_revert().

File

includes/features.content.inc, line 210

Code

function content_features_fields_normal($node_type) {
  $normal_fields = array();
  $content_info = content_types($node_type);
  if (!empty($content_info['fields'])) {
    $normal_fields = array_keys($content_info['fields']);
  }
  return $normal_fields;
}