function EntityType::getDecoratedClasses

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getDecoratedClasses()

Gets the list of all the classes for this entity type.

In case the class name was changed with setClass(), this will return the list of all the changes.

Return value

class-string[] The list of classes.

Overrides EntityTypeInterface::getDecoratedClasses

File

core/lib/Drupal/Core/Entity/EntityType.php, line 484

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getDecoratedClasses() : array {
  return $this->decoratedClasses;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.