Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tim.plunkett on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
In #1763974: Convert entity type info into plugins, entity classes were moved to a standard location of Drupal\$provider\Plugin\Core\Entity
.
For example, the node class was located at Drupal\node\Plugin\Core\Entity\Node
.
To simplify the namespaces, all entity type classes have been moved. The node class is now at Drupal\node\Entity\Node
.
However, most code should use the entity type interface, for example Drupal\node\NodeInterface
.
Impacts:
Module developers