You are here

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

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

Return value

bool True if it has one.

Overrides EckEntityTypeInterface::hasCreatedField

File

src/Entity/EckEntityType.php, line 227

Class

EckEntityType
Defines the ECK Entity Type config entities.

Namespace

Drupal\eck\Entity

Code

public function hasCreatedField() {
  return isset($this->created) && $this->created;
}