You are here

public function InvoiceItem::setTitle in Commerce Invoice 8.2

Sets the invoice item title.

Parameters

string $title: The invoice item title.

Return value

$this

Overrides InvoiceItemInterface::setTitle

File

src/Entity/InvoiceItem.php, line 77

Class

InvoiceItem
Defines the invoice item entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setTitle($title) {
  $this
    ->set('title', $title);
  return $this;
}