You are here

function media_entity_soundcloud_install in Media entity Soundcloud 8

Same name and namespace in other branches
  1. 8.2 media_entity_soundcloud.install \media_entity_soundcloud_install()
  2. 3.x media_entity_soundcloud.install \media_entity_soundcloud_install()

Implements hook_install().

File

./media_entity_soundcloud.install, line 11
Install, uninstall and update hooks for Media entity Soundcloud module.

Code

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);
}