Implements \Drupal\Core\TypedData\ComplexDataInterface::set().
Overrides ComplexDataInterface::set
File
- drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php, line 109
- Contains \Drupal\Core\Entity\Type\EntityTranslation.
Class
- EntityTranslation
- Allows accessing and updating translated entity fields.
Namespace
Drupal\Core\Entity\Field\Type
Code
public function set($property_name, $value, $notify = TRUE) {
$this
->get($property_name)
->setValue($value, FALSE);
}