realistic_dummy_content.module in Realistic Dummy Content 7.2
Same filename and directory in other branches
Required .module file for Drupal 7.
This module provides basic Realistic Dummy Content functionality and is meant to be an example of how you can use Realistic Dummy Content API in your own projects.
This module replaces the body field of all node types with custom dummy content; it also replaces the image field of articles and the picture field of users. It does this by placing the dummy replacement content in a specific directory hierarchy, enclosed.
This file is left empty because modules do not need to implement any hooks, although hooks are available for finer control over what constitutes dummy content.
See ./api/realistic_dummy_content.api.php for hooks you can implement. See also the realistic_dummy_content_api module which implements its own hooks.
File
realistic_dummy_content.moduleView source
<?php
/**
* @file
* Required .module file for Drupal 7.
*
* This module provides basic Realistic Dummy Content functionality and is
* meant to be an example of how you can use Realistic Dummy Content API in
* your own projects.
*
* This module replaces the body field of all node types with custom dummy
* content; it also replaces the image field of articles and the picture field
* of users. It does this by placing the dummy replacement content in a
* specific directory hierarchy, enclosed.
*
* This file is left empty because modules do not need to implement any hooks,
* although hooks are available for finer control over what constitutes
* dummy content.
*
* See ./api/realistic_dummy_content.api.php for hooks you can implement.
* See also the realistic_dummy_content_api module which implements its own
* hooks.
*/