function node_field_get_node_field_settings in Node Field 7.2
Get settings from node field.
Parameters
array $node_field: Array of node field attributes.
Return value
array Node field settings.
File
- includes/
node_field.api.inc, line 193 - API and helpers functions for Node Field module.
Code
function node_field_get_node_field_settings(array $node_field) {
if (isset($node_field['settings'])) {
return $node_field['settings'];
}
// TODO: I think this function should return empty array in case there is no
// settings attribute.
return FALSE;
}