You are here

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

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

Return value

bool True if it has one.

Overrides EckEntityTypeInterface::hasStatusField

File

src/Entity/EckEntityType.php, line 241

Class

EckEntityType
Defines the ECK Entity Type config entities.

Namespace

Drupal\eck\Entity

Code

public function hasStatusField() {
  return isset($this->status) && $this->status;
}