Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
In case you were using the constant TEMPSTORE_NAME from PreviewHooks or you were using the service preview.form_service directly, be aware that both are not available in beta1 anymore. The service preview.form_service is not needed anymore as it was used only in the form alter hook, that now uses the hook class for Drupal 11.1 and is explicitly declared for backwards compatibility. The new service preview.storage was created in order to abstract the operations with temp storage, so that other modules can also utilize it if needed. The name of the tempstore is now a constant in the PreviewStorageInterface. The new service implements this interface and also inherits its constant TEMPSTORE_NAME. If you ever need to use the tempstore name, use it from the interface constant.
Contributors (1)
Changelog
Issues: 1 issues resolved.
Changes since 1.0.0-alpha7 (compare):