You are here

public static function LicenseInterface::getWorkflowId in Commerce License 8.2

Implements the workflow_callback for the state field.

Parameters

\Drupal\commerce_license\Entity\LicenseInterface $license: The license.

Return value

string The workflow ID.

See also

\Drupal\state_machine\Plugin\Field\FieldType\StateItem

1 method overrides LicenseInterface::getWorkflowId()
License::getWorkflowId in src/Entity/License.php
Implements the workflow_callback for the state field.

File

src/Entity/LicenseInterface.php, line 155

Class

LicenseInterface
Provides an interface for License entities.

Namespace

Drupal\commerce_license\Entity

Code

public static function getWorkflowId(LicenseInterface $license);