diff --git a/core/modules/tour/lib/Drupal/tour/TipPluginManager.php b/core/modules/tour/lib/Drupal/tour/TipPluginManager.php index af6d7f3..ddcc307 100644 --- a/core/modules/tour/lib/Drupal/tour/TipPluginManager.php +++ b/core/modules/tour/lib/Drupal/tour/TipPluginManager.php @@ -26,7 +26,7 @@ class TipPluginManager extends PluginManagerBase { * keyed by the corresponding namespace to look for plugin implementations, */ public function __construct(\Traversable $namespaces) { - $annotation_namespaces = array('Drupal\tour\Annotation' => DRUPAL_ROOT . '/core/modules/tour/lib'); + $annotation_namespaces = array('Drupal\tour\Annotation' => $namespaces['Drupal\tour']); $this->discovery = new AnnotatedClassDiscovery('tour', 'tip', $namespaces, $annotation_namespaces, 'Drupal\tour\Annotation\Tip'); $this->discovery = new CacheDecorator($this->discovery, 'tour');