You are here

media_entity_facebook.install in Media entity facebook 8

Same filename and directory in other branches
  1. 8.2 media_entity_facebook.install
  2. 3.x media_entity_facebook.install

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

File

media_entity_facebook.install
View source
<?php

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

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

Functions

Namesort descending Description
media_entity_facebook_install Implements hook_install().