You are here

public function PaymentMethodConfiguration::setUserStorage in Payment 8.2

Sets the user storage.

Parameters

\Drupal\user\UserStorageInterface $user_storage:

Return value

$this

File

src/Entity/PaymentMethodConfiguration.php, line 273

Class

PaymentMethodConfiguration
Defines a payment method configuration entity.

Namespace

Drupal\payment\Entity

Code

public function setUserStorage(UserStorageInterface $user_storage) {
  $this->userStorage = $user_storage;
  return $this;
}