You are here

function RealisticDummyContentAttribute::env in Realistic Dummy Content 7

Returns the appropriate environment, real or testing.

File

api/includes/RealisticDummyContentAttribute.inc, line 74
Define RealisticDummyContentAttribute autoload class.

Class

RealisticDummyContentAttribute
Represents either a field or a property for an entity.

Code

function env() {
  return $this
    ->GetEntity()
    ->env();
}