public FieldableEntityInterface::onChange($field_name)
Reacts to changes to a field.
Note that this is invoked after any changes have been applied.
string $field_name: The name of the field which is changed.
\InvalidArgumentException When trying to assign a value to the language field that matches an existing translation.
\LogicException When trying to change:
public function onChange($field_name);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!FieldableEntityInterface.php/function/FieldableEntityInterface::onChange/8.1.x