You are here

function Attribute::env in Realistic Dummy Content 8

Returns the appropriate environment, real or testing.

File

api/src/attributes/Attribute.php, line 82
Define autoload class.

Class

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

Namespace

Drupal\realistic_dummy_content_api\attributes

Code

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