function media_entity_video_install in Media entity video 8
Same name and namespace in other branches
- 8.3 media_entity_video.install \media_entity_video_install()
- 8.2 media_entity_video.install \media_entity_video_install()
Implements hook_install().
File
- ./
media_entity_video.install, line 11 - Install, uninstall and update hooks for Media entity video module.
Code
function media_entity_video_install() {
$source = drupal_get_path('module', 'media_entity_video') . '/images/icons';
$destination = \Drupal::config('media_entity.settings')
->get('icon_base');
media_entity_copy_icons($source, $destination);
}