Overrides Entity::__construct().
Overrides Entity::__construct
public function __construct(array $values, $entity_type) {
parent::__construct($values, $entity_type);
// Backup the original ID, if any.
// Configuration entity IDs are strings, and '0' is a valid ID.
$original_id = $this
->id();
if ($original_id !== NULL && $original_id !== '') {
$this
->setOriginalID($original_id);
}
}