function entity_metadata_status_options_list in Entity API 7
Return the options lists for the node and comment status property.
2 string references to 'entity_metadata_status_options_list'
- entity_metadata_comment_entity_property_info in modules/
comment.info.inc - Implements hook_entity_property_info() on top of comment module.
- entity_metadata_node_entity_property_info in modules/
node.info.inc - Implements hook_entity_property_info() on top of node module.
File
- modules/
callbacks.inc, line 125 - Provides various callbacks for the whole core module integration.
Code
function entity_metadata_status_options_list() {
return array(
NODE_PUBLISHED => t('Published'),
NODE_NOT_PUBLISHED => t('Unpublished'),
);
}