Install

Works with Drupal: ^10.2 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 81.9 KB
MD5: 6c300f48cec170962b87dc7791adcdac
SHA-1: 749b781ad8f3f119818ad3e286ac34b4d5d20a3f
SHA-256: b19a24f9d1a923f8e39a0a6560b578eed13870c5b0a85092781a06c691b7d1bc
Download zip 94.58 KB
MD5: 1fa7d7d6524274928f2aab546af9038d
SHA-1: f0609edb7bfeaba44558fab6b0d17e9cd295df8f
SHA-256: 9fd3f4bb0dba8f2f9d63a239813a8cc46f271b844db181e15d820bf6bfdcfa63

Release notes

Second alpha. Adds default Schema.org trees per bundle.

### New features

- **Default tree per bundle** (#3632333): content types, vocabularies and
media types get a "Free Schema.org" section in their edit form, with the
same tree editor. The default is printed for every entity of the bundle
without a tree of its own, with tokens replaced by that entity's values,
and replaces any other JSON-LD of the page. The bundle does not need a
Free Schema.org field.
- Defaults are stored as the `free_schema.tree` third-party setting of the
bundle: exported with its configuration and translatable with
Configuration Translation (the entity's language is used).
- New restricted permission: "Administer the default free Schema.org trees
of bundles".
- The field widget shows the inherited bundle default as a read-only
preview while the field is empty.
- New "Clear tree" button in the editor, with a reminder to save the form.

### API changes

- `JsonLdBuilder::__construct()` now takes the entity type manager and the
language manager; the optional token entity mapper moved to the last
argument. Code that extends or instantiates the class directly must be
updated.
- The editor form element moved from `FreeSchemaTreeWidget` to the new
`free_schema.tree_editor` service.

### Upgrade notes

- Rebuild caches after updating (`drush cr` or `drush updb`).
- Grant the new permission to the roles that should edit bundle defaults.
- Import the updated Spanish translations if you use them.

Created by: jasa
Created on: 22 Oct 2026 at 10:50 UTC
Last updated: 22 Oct 2026 at 10:50 UTC
New features

Other releases