function sarnia_entity_type_load in Sarnia 7
Same name in this branch
- 7 sarnia.api.php \sarnia_entity_type_load()
- 7 sarnia.module \sarnia_entity_type_load()
Load bundle information about a specific Sarnia entity type.
This function is used as a menu wildcard loader, %sarnia_entity_type.
Parameters
$machine_name: String. The machine name of a Sarnia entity type.
Return value
An array of bundle information, or FALSE if there is no Sarnia entity type with the given machine name.
See also
5 calls to sarnia_entity_type_load()
- sarnia_entity_manage_form in ./
sarnia.entities.inc - This form appears on a "Sarnia" tab on Search API server configuration pages. It allows administrators to "enable sarnia" for a particular server; when Sarnia is enabled for a Search API server, a Sarnia entity type is…
- sarnia_entity_type_delete in ./
sarnia.entities.inc - Delete a Sarnia entity type.
- sarnia_field_formatter_settings_form in ./
sarnia.field_formatter.inc - Implements hook_field_formatter_settings_form().
- sarnia_field_views_data in ./
sarnia.views.inc - Implements hook_field_views_data().
- sarnia_form_search_api_admin_confirm_alter in ./
sarnia.module - Implements hook_form_FORM_ID_alter().
File
- ./
sarnia.api.php, line 71 - A summary of API functions.
Code
function sarnia_entity_type_load($machine_name) {
/* ... */
}