realistic_dummy_content_api.install in Realistic Dummy Content 3.x
Same filename and directory in other branches
Install, deployment (update), and uninstall hooks for this module.
File
api/realistic_dummy_content_api.installView 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
Name | Description |
---|---|
realistic_dummy_content_api_uninstall | Implements hook_uninstall(). |