Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module_load_include('inc', 'Content', 'includes/content.crud');
- $fields = content_field_instance_read(array('field_name' => 'field_status'));
- $allowed_string = $fields[0]['allowed_values']; // string with \r\n separators
- $allowed_values = explode("\r\n", $allowed_string);
Add Comment
Please, Sign In to add comment