public function DrupalCommerceEntityController::isUnchanged in Commerce Core 7
Implements DrupalCommerceEntityControllerInterface::isUnchanged().
Overrides DrupalCommerceEntityControllerInterface::isUnchanged
File
- includes/
commerce.controller.inc, line 105 - Provides a central controller for Drupal Commerce.
Class
- DrupalCommerceEntityController
- Default implementation of DrupalCommerceEntityControllerInterface.
Code
public function isUnchanged($entity) {
return isset($this->unchangedEntities[$entity->{$this->idKey}]);
}