You are here

private property Attribute::$entity in Realistic Dummy Content 8

The entity is set on construction and is a subclass of EntityBase. It contains information about the entity to which this field instance is attached.

File

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

Class

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

Namespace

Drupal\realistic_dummy_content_api\attributes

Code

private $entity;