You are here

public function EckEntityType::hasChangedField in Entity Construction Kit (ECK) 8

Determines if the entity type has a 'changed' field.

Return value

bool True if it has one.

Overrides EckEntityTypeInterface::hasChangedField

File

src/Entity/EckEntityType.php, line 220

Class

EckEntityType
Defines the ECK Entity Type config entities.

Namespace

Drupal\eck\Entity

Code

public function hasChangedField() {
  return isset($this->changed) && $this->changed;
}