public function SubscriptionInterface::getState in Commerce Recurring Framework 8
Gets the subscription state.
Return value
\Drupal\state_machine\Plugin\Field\FieldType\StateItemInterface The subscription state.
1 method overrides SubscriptionInterface::getState()
- Subscription::getState in src/
Entity/ Subscription.php - Gets the subscription state.
File
- src/
Entity/ SubscriptionInterface.php, line 226
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function getState();