You are here

protected function ProductCategoryTrait::getTermIds in Commerce Core 8.2

Gets the configured term IDs.

Return value

array The term IDs.

3 calls to ProductCategoryTrait::getTermIds()
OrderItemProductCategory::evaluate in modules/product/src/Plugin/Commerce/Condition/OrderItemProductCategory.php
Evaluates the condition.
OrderProductCategory::evaluate in modules/product/src/Plugin/Commerce/Condition/OrderProductCategory.php
Evaluates the condition.
ProductCategoryTrait::buildConfigurationForm in modules/product/src/Plugin/Commerce/Condition/ProductCategoryTrait.php

File

modules/product/src/Plugin/Commerce/Condition/ProductCategoryTrait.php, line 90

Class

ProductCategoryTrait
Provides common configuration for the product category conditions.

Namespace

Drupal\commerce_product\Plugin\Commerce\Condition

Code

protected function getTermIds() {
  return $this->entityUuidMapper
    ->mapToIds('taxonomy_term', $this->configuration['terms']);
}