You are here

realistic_dummy_content_api.install in Realistic Dummy Content 3.x

Install, deployment (update), and uninstall hooks for this module.

File

api/realistic_dummy_content_api.install
View source
<?php

/**
 * @file
 * Install, deployment (update), and uninstall hooks for this module.
 */
use Drupal\realistic_dummy_content_api\Framework\Framework;

/**
 * Implements hook_uninstall().
 */
function realistic_dummy_content_api_uninstall() {

  // This is an internal variable used by tests to avoid using random
  // images. This is necessary in order to test that the image replacement
  // happens correctly.
  Framework::instance()
    ->variableDel('realistic_dummy_content_api_rand');
}

Functions