You are here

public function DrupalCommerceEntityControllerInterface::isUnchanged in Commerce Core 7

Determines whether or not the given entity object was loaded directly from the database to represent the unchanged version of the entity.

Parameters

object $entity: The entity to check.

Return value

bool TRUE if the entity is "unchanged", FALSE otherwise.

1 method overrides DrupalCommerceEntityControllerInterface::isUnchanged()
DrupalCommerceEntityController::isUnchanged in includes/commerce.controller.inc
Implements DrupalCommerceEntityControllerInterface::isUnchanged().

File

includes/commerce.controller.inc, line 26
Provides a central controller for Drupal Commerce.

Class

DrupalCommerceEntityControllerInterface
Interface for the default Drupal Commerce entity controller.

Code

public function isUnchanged($entity);