Skip to content

Commit 2355409

Browse files
andreastkdflisastreeter
authored andcommitted
Update docs.md (#300)
1 parent 3053dd5 commit 2355409

File tree

1 file changed

+1
-0
lines changed
  • user/pages/03.commerce2/02.developer-guide/03.products/03.product-management/10.code-recipes

1 file changed

+1
-0
lines changed

user/pages/03.commerce2/02.developer-guide/03.products/03.product-management/10.code-recipes/docs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ taxonomy:
165165
// Look up while filtering by Attribute
166166
$productAttributeId = \Drupal::entityTypeManager()
167167
->getStorage('commerce_product_attribute_value')
168+
->getQuery()
168169
->condition('attribute', 'attribute_machine_name')
169170
->condition('field_value', field_value)
170171
->execute();

0 commit comments

Comments
 (0)