public function InvoiceItem::getFormat in Commerce Invoice 8.2
Gets the text format name for the invoice item description.
Return value
string The text format name.
Overrides InvoiceItemInterface::getFormat
File
- src/
Entity/ InvoiceItem.php, line 100
Class
- InvoiceItem
- Defines the invoice item entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function getFormat() {
return $this
->get('description')->format;
}