Hey,

I have just figured out that this module has a not specified dependency on the views module. When it is disabled and I am trying to add a matcher, I am running into:

( ! ) Fatal error: Class 'Drupal\views\Plugin\views\PluginBase' not found in /Users/xxx/Projects/project_template_test/docroot/modules/contrib/linkit/src/Plugin/Linkit/Substitution/Canonical.php on line 18
CommentFileSizeAuthor
#2 linkit_views_dependency-2903176-2.patch346 bytessgurlt

Comments

sgurlt created an issue. See original summary.

sgurlt’s picture

StatusFileSize
new346 bytes

Here is the patch for it.

dinesh18’s picture

Status: Needs review » Reviewed & tested by the community

#2 looks good to me. +1 to RTBC

anon’s picture

Status: Reviewed & tested by the community » Needs work

Views should not be a dependency. I will have to look into this one.

anon’s picture

Title: Views as a dependency » Substitution plugins using wrong PluginBase class
Status: Needs work » Fixed

Turns out that all the substitution plugins were using the wrong PluginBase class.

  • anon committed 3ade4a8 on 8.x-5.x
    Issue #2903176 by anon: Substitution plugins using wrong PluginBase...
anon’s picture

Status: Fixed » Closed (fixed)

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