Refactor resource hints into entities

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

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 Closed: won't fix

Data model changes

Yes. New resource hints entity.

✨ Feature request
Status

Closed: won't fix

Version

2.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.

  • πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

    There isn't any current interest in working on the Drupal 7 branch. Since D7 is end of life in a few months, I am going to close this as won't fix. Please feel free to open it back up if you would like to work on it.

Production build 0.71.5 2024