Refactor resource hints into entities

Created on 25 February 2017, almost 8 years ago
Updated 3 August 2024, 5 months ago

Follow-up to ✨ Refactor resource hints into entities Closed: won't fix

Problem/Motivation

Resource hints are currently stored as a delimited string in the variables system. Per "pending functionality" in the project description, resource hints require individual configuration to support the crossorigin and as attributes for comprehensive support of all resource hints requirements/features.

Proposed resolution

Pivot to a new resource hint entity type and leverage the entity facilities to manage configurations for a resource hint in an individual basis, and refactor any/all current functionality as necessary.

Remaining tasks

<!-- See https://drupal.org/core-mentoring/novice-tasks for tips on identifying novice tasks. Delete or add "Novice" from the Novice? column in the table below as appropriate. Uncomment tasks as the issue advances. Update the Complete? column to indicate when they are done, and maybe reference the comment number where they were done. -->

User interface changes

Yes. Entity CRUD using the base entity management forms available in the entity ecosystem.

API changes

N/A. See ✨ Module hook to alter resource hint array Active

Data model changes

Yes. New resource hints entity.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bighappyface

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024