You are here

public function ProductAttribute::getElementType in Commerce Core 8.2

Gets the attribute element type.

Return value

string The element type name.

Overrides ProductAttributeInterface::getElementType

File

modules/product/src/Entity/ProductAttribute.php, line 101

Class

ProductAttribute
Defines the product attribute entity class.

Namespace

Drupal\commerce_product\Entity

Code

public function getElementType() {
  return $this->elementType;
}