By amateescu on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.1.x
Introduced in version:
10.1.0
Issue links:
Description:
Before Drupal 10.1.0, when creating an entity in a workspace, the initial revision would not contain any data in the workspace revision metadata field. Starting with Drupal 10.1.0, the ID of the workspace in which the entity was created will be stored in that field.
API additions:
- new method on the workspace association service:
WorkspaceAssociation::getAssociatedInitialRevisions()
Constructor changes:
\Drupal\workspaces\Plugin\Validation\Constraint\DeletedWorkspaceConstraintValidator::__construct()receives an instance of\Drupal\Core\State\StateInterfaceinstead of\Drupal\workspaces\WorkspaceAssociationInterface
Impacts:
Module developers