realistic_dummy_content.module in Realistic Dummy Content 8
Same filename and directory in other branches
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 realistic_dummy_content.api.php for hooks you can implement. See also the realistic_dummy_content_api module which implements its own hooks.
See also https://drupal.org/node/2266627.
File
realistic_dummy_content.moduleView source
<?php
/**
* @file
*
* 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 realistic_dummy_content.api.php for hooks you can implement.
* See also the realistic_dummy_content_api module which implements its own
* hooks.
*
* See also https://drupal.org/node/2266627.
*/