You are here

entity_share_medias_file.module in Entity Share 7

Entity Share Medias File .module file.

File

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

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

/**
 * Implements hook_entity_share_medias_file_es_medias_types_config_alter().
 */
function entity_share_medias_file_es_medias_media_types_config_alter(&$media_types_config) {
  if (isset($media_types_config['file'])) {
    return;
  }

  // Add the EntityShareMediasProvider for File.
  $media_types_config['file'] = array(
    'export' => 'EntityShareMediasFileExport',
    'import' => 'EntityShareMediasFileImport',
  );
}

Functions

Namesort descending Description
entity_share_medias_file_es_medias_media_types_config_alter Implements hook_entity_share_medias_file_es_medias_types_config_alter().