Add hook for page visibility of the schema

Created on 25 April 2025, 4 days ago

Problem/Motivation

Currently, the Schema App module requests the schema for every front end page. This can result in wasteful requests to Schema App for pages that will never have a schema in Schema App.

Proposed resolution

Provide a Drupal hook for sites to implement their own business logic to determine if the schema should be added to the page.

Remaining tasks

None.

User interface changes

None.

API changes

Adds a new hook_schemaapp_schema_visibility, see schemaapp.api.php for details.

Data model changes

None.

✨ Feature request
Status

Active

Version

1.12

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States recrit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024