You are here

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

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

Return value

bool True if it has one.

Overrides EckEntityTypeInterface::hasTitleField

File

src/Entity/EckEntityType.php, line 234

Class

EckEntityType
Defines the ECK Entity Type config entities.

Namespace

Drupal\eck\Entity

Code

public function hasTitleField() {
  return isset($this->title) && $this->title;
}