You are here

public function ProductBundle::getType in Commerce Product Bundle 8

Gets the product bundle type.

Return value

string The product bundle type.

Overrides BundleInterface::getType

File

src/Entity/ProductBundle.php, line 82

Class

ProductBundle
Defines the product bundle entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getType() {
  return $this
    ->bundle();
}