public function EntityDefaultFeaturesController::export_options in Entity API 7
Generates the result for hook_features_export_options().
File
- ./
entity.features.inc, line 66 - Provides Features integration for entity types using the CRUD API.
Class
- EntityDefaultFeaturesController
- Default controller handling features integration.
Code
public function export_options() {
$options = array();
foreach (entity_load_multiple_by_name($this->type, FALSE) as $name => $entity) {
$options[$name] = entity_label($this->type, $entity);
}
return $options;
}