title: Register Shopware hook using the 5.2 plugin system
body: <p>I'm developing a Shopware plugin using the 5.2 plugin system and I'm having trouble registering a hook into a method of the sBasket module.</p>
  
  <p>What I'm trying to achieve is to get notified when an article is removed from the shopping basket, to be able to remove other articles automatically (the articles are correlated and it doesn't make sense to have one in the basket if the other one is removed).</p>
  
  <p>So far my plugin bootstrap looks as follows:</p>
  
  <pre><code>class MyTestPlugin extends \Shopware\Components\Plugin {
  
      public static function getSubscribedEvents() {
  
          return [
                  'Shopware_Modules_Basket_AddArticle_Start' =&gt; 'onBasketAddArticle',
                  'sBasket::sDeleteArticle::after' =&gt; 'onBasketDeleteArticle'
          ];
      }
  
      // Handler methods declared here...
  }
  </code></pre>
  
  <p>The "AddArticle_Start" event registration works as expected, that is, the "onBasketAddArticle" handler is called when I add articles to the basket. The sBasket hook, however, isn't invoked.</p>
  
  <p>I suspect that I'm mixing up legacy and new plugin system here and that hooks maybe have to be registered another way than events, but I can't find anything in the Shopware documentation.</p>
  
  <p>Any help appreciated.</p>