You are here

entity_share_medias_scald.module in Entity Share 7

Entity Share Medias Scald .module file.

File

modules/entity_share_medias/modules/entity_share_medias_scald/entity_share_medias_scald.module
View source
<?php

/**
 * @file
 * Entity Share Medias Scald .module file.
 */

/**
 * Implements hook_entity_share_medias_scald_es_medias_types_config_alter().
 */
function entity_share_medias_scald_es_medias_media_types_config_alter(&$media_types_config) {
  if (isset($media_types_config['scald'])) {
    return;
  }

  // Add the EntityShareMediasProvider for Scald.
  $media_types_config['scald'] = array(
    'export' => 'EntityShareMediasScaldExport',
    'import' => 'EntityShareMediasScaldImport',
  );
}

Functions

Namesort descending Description
entity_share_medias_scald_es_medias_media_types_config_alter Implements hook_entity_share_medias_scald_es_medias_types_config_alter().