Commit c0d91f6b authored by a.dmitriiev's avatar a.dmitriiev Committed by bojanz

Issue #2832797 by bojanz, a.dmitriiev: Promotions cause PluginNotFoundException

parent f28bcd18
......@@ -48,8 +48,8 @@ class PromotionConditionManager extends DefaultPluginManager implements Executab
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct('Plugin/Commerce/PromotionCondition', $namespaces, $module_handler, 'Drupal\commerce_promotion\Plugin\Commerce\PromotionCondition\PromotionConditionInterface', 'Drupal\commerce_promotion\Annotation\CommercePromotionCondition');
$this->alterInfo('condition_info');
$this->setCacheBackend($cache_backend, 'condition_plugins');
$this->alterInfo('commerce_promotion_condition_info');
$this->setCacheBackend($cache_backend, 'commerce_promotion_condition_plugins');
$this->entityTypeManager = $entity_type_manager;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment