linkit profile config dependency on entity type provider is hardcoded and won't work with other entity types

Created on 24 June 2024, 11 months ago
Updated 25 June 2024, 11 months ago
  public function calculateDependencies() {
    return parent::calculateDependencies() + [
      'module' => ['node'],
    ];
  }

This is hardcoded in NodeMatcher, and there is similar in the other entity type-specific matcher plugin classes.

This won't work with other entity types.

Instead, EntityMatcher should get the provider from the entity type definition.

🐛 Bug report
Status

Active

Version

6.1

Component

Code

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024