
| Current Path : /var/www/html/store/web/modules/contrib/commerce/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/commerce/src/ConditionManagerInterface.php |
<?php
namespace Drupal\commerce;
use Drupal\Component\Plugin\CategorizingPluginManagerInterface;
/**
* Defines the interface for commerce_condition plugin managers.
*/
interface ConditionManagerInterface extends CategorizingPluginManagerInterface {
/**
* Gets the filtered plugin definitions.
*
* @param string $parent_entity_type_id
* The parent entity type ID. For example: 'commerce_promotion' if the
* conditions are being loaded for a promotion.
* @param array $entity_type_ids
* The entity type IDs. For example: ['commerce_order'] to get
* only conditions that evaluate orders.
*
* @return array
* The filtered plugin definitions.
*/
public function getFilteredDefinitions($parent_entity_type_id, array $entity_type_ids);
}