EntityChangedTrait::getChangedTimeAcrossTranslations

public EntityChangedTrait::getChangedTimeAcrossTranslations() Returns the timestamp of the last entity change across all translations. Return value int The timestamp of the last entity save operation across all translations. Overrides EntityChangedInterface::getChangedTimeAcrossTranslations File core/lib/Drupal/Core/Entity/EntityChangedTrait.php, line 17 Class EntityChangedTrait Provides a trait for accessing changed time. Namespace Drupal\Core\Entity Code public function getChangedTi

EntityChangedTrait::getChangedTime

public EntityChangedTrait::getChangedTime() Gets the timestamp of the last entity change for the current translation. Return value int The timestamp of the last entity save operation. Overrides EntityChangedInterface::getChangedTime File core/lib/Drupal/Core/Entity/EntityChangedTrait.php, line 32 Class EntityChangedTrait Provides a trait for accessing changed time. Namespace Drupal\Core\Entity Code public function getChangedTime() { return $this->get('changed')->value; }

EntityChangedTrait

Provides a trait for accessing changed time. Hierarchy trait \Drupal\Core\Entity\EntityChangedTrait File core/lib/Drupal/Core/Entity/EntityChangedTrait.php, line 8 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityChangedTrait::getChangedTime public function Gets the timestamp of the last entity change for the current translation. Overrides EntityChangedInterface::getChangedTime EntityChangedTrait::getChangedTimeAcrossTranslations public fu

EntityChangedInterface::setChangedTime

public EntityChangedInterface::setChangedTime($timestamp) Sets the timestamp of the last entity change for the current translation. Parameters int $timestamp: The timestamp of the last entity save operation. Return value $this File core/lib/Drupal/Core/Entity/EntityChangedInterface.php, line 35 Class EntityChangedInterface Defines an interface for entity change timestamp tracking. Namespace Drupal\Core\Entity Code public function setChangedTime($timestamp);

EntityChangedInterface::getChangedTimeAcrossTranslations

public EntityChangedInterface::getChangedTimeAcrossTranslations() Gets the timestamp of the last entity change across all translations. Return value int The timestamp of the last entity save operation across all translations. File core/lib/Drupal/Core/Entity/EntityChangedInterface.php, line 44 Class EntityChangedInterface Defines an interface for entity change timestamp tracking. Namespace Drupal\Core\Entity Code public function getChangedTimeAcrossTranslations();

EntityChangedInterface::getChangedTime

public EntityChangedInterface::getChangedTime() Gets the timestamp of the last entity change for the current translation. Return value int The timestamp of the last entity save operation. File core/lib/Drupal/Core/Entity/EntityChangedInterface.php, line 25 Class EntityChangedInterface Defines an interface for entity change timestamp tracking. Namespace Drupal\Core\Entity Code public function getChangedTime();

EntityChangedInterface

Defines an interface for entity change timestamp tracking. This data may be useful for more precise cache invalidation (especially on the client side) and concurrent editing locking. The entity system automatically adds in the 'EntityChanged' constraint for entity types implementing this interface in order to disallow concurrent editing. Hierarchy interface \Drupal\Core\Entity\EntityChangedInterface See also Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint File core/l

EntityBundleListenerInterface::onBundleDelete

public EntityBundleListenerInterface::onBundleDelete($bundle, $entity_type_id) Reacts to a bundle being deleted. This method runs before fields are deleted. Parameters string $bundle: The name of the bundle being deleted. string $entity_type_id: The entity type to which the bundle is bound; e.g. 'node' or 'user'. File core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php, line 32 Class EntityBundleListenerInterface An interface for reacting to entity bundle creation and deletion.

EntityBundleListenerInterface::onBundleCreate

public EntityBundleListenerInterface::onBundleCreate($bundle, $entity_type_id) Reacts to a bundle being created. Parameters string $bundle: The name of the bundle created. string $entity_type_id: The entity type to which the bundle is bound; e.g. 'node' or 'user'. File core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php, line 20 Class EntityBundleListenerInterface An interface for reacting to entity bundle creation and deletion. Namespace Drupal\Core\Entity Code public funct

EntityBundleListenerInterface

An interface for reacting to entity bundle creation and deletion. @todo Convert to Symfony events: https://www.drupal.org/node/2332935 Hierarchy interface \Drupal\Core\Entity\EntityBundleListenerInterface File core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php, line 10 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityBundleListenerInterface::onBundleCreate public function Reacts to a bundle being created. EntityBundleListenerInterfa