You are here

public function ProductAttributeValueStorageInterface::loadMultipleByAttribute in Commerce Core 8.2

Loads product attribute values for the given product attribute.

Parameters

string $attribute_id: The product attribute ID.

Return value

\Drupal\commerce_product\Entity\ProductAttributeValueInterface[] The product attribute values, indexed by id, ordered by weight.

1 method overrides ProductAttributeValueStorageInterface::loadMultipleByAttribute()
ProductAttributeValueStorage::loadMultipleByAttribute in modules/product/src/ProductAttributeValueStorage.php
Loads product attribute values for the given product attribute.

File

modules/product/src/ProductAttributeValueStorageInterface.php, line 21

Class

ProductAttributeValueStorageInterface
Defines the interface for product attribute value storage.

Namespace

Drupal\commerce_product

Code

public function loadMultipleByAttribute($attribute_id);