Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::hasFormClasses()
  2. 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::hasFormClasses()

Indicates if this entity type has any forms.

Return value

bool TRUE if there are any forms for this entity type, FALSE otherwise.

1 method overrides EntityTypeInterface::hasFormClasses()
EntityType::hasFormClasses in core/lib/Drupal/Core/Entity/EntityType.php
Indicates if this entity type has any forms.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 264

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function hasFormClasses();