You are here

public function ProductBundle::getTitle in Commerce Product Bundle 8

Gets the product bundle title.

Return value

string Title of the product bundle.

Overrides BundleInterface::getTitle

File

src/Entity/ProductBundle.php, line 89

Class

ProductBundle
Defines the product bundle entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function getTitle() {
  return $this
    ->get('title')->value;
}