trait EntityChangedTrait (View source)

Provides a trait for accessing changed time.

Methods

int
getChangedTimeAcrossTranslations()

Returns the timestamp of the last entity change across all translations.

int
getChangedTime()

Gets the timestamp of the last entity change for the current translation.

$this
setChangedTime(int $timestamp)

Sets the timestamp of the last entity change for the current translation.

Details

int 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.

int getChangedTime()

Gets the timestamp of the last entity change for the current translation.

Return Value

int

The timestamp of the last entity save operation.

$this setChangedTime(int $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