Closed (fixed)
Project:
MyREST Metatag
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2026 at 09:43 UTC
Updated:
11 Feb 2026 at 10:40 UTC
Jump to comment: Most recent
The MyrestMetatagForm.php currently depends on custom classes MyentityNode, MyentityProduct, and MyentityTerm, which are not part of the module or Drupal core. This prevents the module from being portable and causes crashes if the myentity module is missing.
use statements for MyentityNode, MyentityProduct, and MyentityTerm.validateForm to use the standard EntityTypeManagerInterface for entity loading.Apply refactoring and test with standard Drupal entities.
None.
Removal of dependency on myentity module classes.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented