You are here

abstract class RealisticDummyContentBase in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentBase.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentBase
  2. 7.2 api/src/includes/RealisticDummyContentBase.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentBase

The most generic content manipulator.

Because Realistic Dummy Content defines content as any data including but not limited to entities, entities are managed by a subclass of this, but we leave the door open to manipulators of other types of data (including menus, for example, which are not entites), which are not yet supported but which could be in future releases. See the issue queue or open a new issue at if you would like to help with this!


Expanded class hierarchy of RealisticDummyContentBase


api/src/includes/RealisticDummyContentBase.php, line 17


View source
abstract class RealisticDummyContentBase {

   * Retrieves the current environment class.
  public function env() {
    return RealisticDummyContentEnvironment::get();



Namesort descending Modifiers Type Description Overrides
RealisticDummyContentBase::env public function Retrieves the current environment class.