You are here

public function FieldableEdgeEntityInterface::setPropertyValue in Apigee Edge 8

Updates the property value on an entity by field name.

Parameters

string $field_name: Name of the field (which usually the name of the property.)

mixed $value: Value of the field.

1 method overrides FieldableEdgeEntityInterface::setPropertyValue()
FieldableEdgeEntityBase::setPropertyValue in src/Entity/FieldableEdgeEntityBase.php
Updates the property value on an entity by field name.

File

src/Entity/FieldableEdgeEntityInterface.php, line 44

Class

FieldableEdgeEntityInterface
Base interface for those Apigee Edge entities that are fieldable.

Namespace

Drupal\apigee_edge\Entity

Code

public function setPropertyValue(string $field_name, $value) : void;