public function PaymentMethodConfiguration::bundle in Payment 8.2
Gets the bundle of the entity.
Return value
string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles.
Overrides EntityBase::bundle
File
- src/
Entity/ PaymentMethodConfiguration.php, line 123
Class
- PaymentMethodConfiguration
- Defines a payment method configuration entity.
Namespace
Drupal\payment\EntityCode
public function bundle() {
return $this
->getPluginId();
}