You are here

public function ProductType::setDescription in Commerce Core 8.2

Sets the entity description.

Parameters

string $description: The entity description.

Return value

$this

Overrides EntityDescriptionInterface::setDescription

File

modules/product/src/Entity/ProductType.php, line 103

Class

ProductType
Defines the product type entity class.

Namespace

Drupal\commerce_product\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}