You are here

Base.php in Realistic Dummy Content 8

Define autoload class.

File

api/src/manipulators/Base.php
View source
<?php

/**
 * @file
 *
 * Define autoload class.
 */
namespace Drupal\realistic_dummy_content_api\manipulators;

use Drupal\realistic_dummy_content_api\environments\Environment;

/**
 * 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!
 */
abstract class Base {
  function env() {
    return Environment::Get();
  }

}

Classes

Namesort descending Description
Base The most generic content manipulator.