protected function PaymentMethodConfiguration::getUserStorage in Payment 8.2
Gets the user storage.
Return value
\Drupal\user\UserStorageInterface
File
- src/
Entity/ PaymentMethodConfiguration.php, line 284
Class
- PaymentMethodConfiguration
- Defines a payment method configuration entity.
Namespace
Drupal\payment\EntityCode
protected function getUserStorage() {
if (!$this->userStorage) {
$this->userStorage = $this
->entityTypeManager()
->getStorage('user');
}
return $this->userStorage;
}