You are here

function FieldModifier::Modify in Realistic Dummy Content 8

Modify the entity.

Subclasses of EntityBase need to override this function to perform modifications on the entity.

Overrides EntityBase::Modify

File

api/src/manipulators/FieldModifier.php, line 218
Define autoload class.

Class

FieldModifier
Field modifier class.

Namespace

Drupal\realistic_dummy_content_api\manipulators

Code

function Modify() {
  $attributes = $this
    ->GetAttributes();
  foreach ($attributes as $attribute) {
    $attribute
      ->Change();
  }
}