You are here

function entity_metadata_user_status_options_list in Entity API 7

Return the options lists for user status property.

1 string reference to 'entity_metadata_user_status_options_list'
entity_metadata_user_entity_property_info in modules/user.info.inc
Implements hook_entity_property_info() on top of user module.

File

modules/callbacks.inc, line 421
Provides various callbacks for the whole core module integration.

Code

function entity_metadata_user_status_options_list() {
  return array(
    0 => t('Blocked'),
    1 => t('Active'),
  );
}