Problem/Motivation

There is dependency on a class in a namespace that doesn't exist and isn't a dependency listed in the info.yml file. This prevents enabling the module in the settings form. As the code loaded by it isn't actually used, it is safe to remove this.
use Drupal\form_ui\Factory\ContentEntityCollectionFactory;

Setting as critical as you cannot actually use this module since you cannot enable it via /admin/config/search/token_default/settings

Proposed resolution

Remove unused code.

Remaining tasks

Implement patch (provided shortly)

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

Fix fatal error enabling module.

Comments

scott_euser created an issue. See original summary.

scott_euser’s picture

Status: Active » Needs review
StatusFileSize
new779 bytes

  • andy_w committed b53518a on 8.x-1.x authored by scott_euser
    Issue #3045898 by scott_euser: Unused code causing fatal error on token...
andy_w’s picture

Status: Needs review » Fixed

Thanks, new alpha released

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.