You are here

public function InvoiceType::getWorkflowId in Commerce Invoice 8.2

Gets the invoice type's workflow ID.

Used by the $invoice->state field.

Return value

string The invoice type workflow ID.

Overrides InvoiceTypeInterface::getWorkflowId

1 call to InvoiceType::getWorkflowId()
InvoiceType::calculateDependencies in src/Entity/InvoiceType.php
Calculates dependencies and stores them in the dependency property.

File

src/Entity/InvoiceType.php, line 229

Class

InvoiceType
Defines the invoice type entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function getWorkflowId() {
  return $this->workflow;
}