I didn't seem to find anyone else having this issue, but we just can't get this module to work with the newest drupal 8 version. We have used this many times in the past with our Drupal 7 sites, but now that we are trying to use it with Drupal 8, it just doesn't have the option to change meta information. we have activated the module, but nothing shows up in the configuration page like normal, and there's no option to change meta information with the pages.

Furthermore, we can't seem to easily uninstall the module when trying to reinstall it.

What could the problem be? Any guidance would be great.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bridgerc created an issue. See original summary.

danisha’s picture

Hi ,

Went through the meta_quick module. As mentioned it gives error while installing and it does not uninstall correctly.

I noted that while uninstalling, at line 49 it uses the fields function field_read_fields() which is deprecated in drupal 8. Instead we can use entity_load_multiple_by_properties() function which loads entities with their properties values.

Working on the same. Will update later.

Thanks

alex_optim’s picture

Assigned: bridgerc » alex_optim
alex_optim’s picture

alex_optim’s picture

Assigned: alex_optim » Unassigned
Status: Active » Needs review
FileSize
13.82 KB

Replaced all deprecated functions.

Mile23’s picture

Status: Needs review » Needs work

This kicked me on a migration.

Really needs to address field_read_fields() as in #2. Deprecations are less a concern here, as much as functions that don't exist in D8.

Mile23’s picture

Issue tags: +Needs tests

Also just to point out that a test of this would be pretty easy to do, if automated testing were turned on.

DamienMcKenna’s picture

Status: Needs work » Closed (won't fix)

The project page specifically says:

#D8CX: while there was initial work on porting metatags quick to Drupal 8, I encourage everyone who would like to help, join the effort with #2052441: Port Metatag to Drupal 8

Instead I'd invite everyone to collaborate on building a migration path: https://www.drupal.org/project/metatag/issues/2618898