You are here

public function InvoiceItem::getTitle in Commerce Invoice 8.2

Gets the invoice item title.

Return value

string The invoice item title

Overrides InvoiceItemInterface::getTitle

File

src/Entity/InvoiceItem.php, line 70

Class

InvoiceItem
Defines the invoice item entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

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