You are here

media_entity_soundcloud.install in Media entity Soundcloud 8

Install, uninstall and update hooks for Media entity Soundcloud module.

File

media_entity_soundcloud.install
View source
<?php

/**
 * @file
 * Install, uninstall and update hooks for Media entity Soundcloud module.
 */

/**
 * Implements hook_install().
 */
function media_entity_soundcloud_install() {
  $source = drupal_get_path('module', 'media_entity_soundcloud') . '/images/icons';
  $destination = \Drupal::config('media_entity.settings')
    ->get('icon_base');
  media_entity_copy_icons($source, $destination);
}

Functions