You are here

media_entity_audio.install in Media entity audio 8

Same filename and directory in other branches
  1. 8.3 media_entity_audio.install
  2. 8.2 media_entity_audio.install

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

File

media_entity_audio.install
View source
<?php

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

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

Functions

Namesort descending Description
media_entity_audio_install Implements hook_install().