You are here

function services_views_entity_info_alter in Services Views 7

Implements hook_entity_info_alter().

File

./services_views.module, line 446
Provides a generic but powerful API for web services.

Code

function services_views_entity_info_alter(&$info) {

  // Add a view_mode to field_collections called Services.
  if (isset($info['field_collection_item'])) {
    $info['field_collection_item']['view modes']['services'] = array(
      'label' => t('Services'),
      'custom settings' => FALSE,
    );
  }
}