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\EntityCode
public function getTitle() {
return $this
->get('title')->value;
}