media_entity_instagram.install in Media entity Instagram 8
Same filename and directory in other branches
Install, uninstall and update hooks for Media entity Instagram module.
File
media_entity_instagram.installView source
<?php
/**
* @file
* Install, uninstall and update hooks for Media entity Instagram module.
*/
/**
* Implements hook_install().
*/
function media_entity_instagram_install() {
$source = drupal_get_path('module', 'media_entity_instagram') . '/images/icons';
$destination = \Drupal::config('media_entity.settings')
->get('icon_base');
media_entity_copy_icons($source, $destination);
}
Functions
Name | Description |
---|---|
media_entity_instagram_install | Implements hook_install(). |