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 https://drupal.org/project/issues/realistic_dummy_content if you would like to help with this!

Hierarchy

Expanded class hierarchy of RealisticDummyContentBase

File

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

Namespace

Drupal\realistic_dummy_content_api\includes
View source
abstract class RealisticDummyContentBase {

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

}

Members

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