You are here

public function PaymentLineItemBase::setName in Payment 8.2

Sets the machine name.

Parameters

string $name:

Return value

static

Overrides PaymentLineItemInterface::setName

1 call to PaymentLineItemBase::setName()
Basic::submitConfigurationForm in src/Plugin/Payment/LineItem/Basic.php
Form submission handler.

File

src/Plugin/Payment/LineItem/PaymentLineItemBase.php, line 77

Class

PaymentLineItemBase
Provides a base line item.

Namespace

Drupal\payment\Plugin\Payment\LineItem

Code

public function setName($name) {
  $this->configuration['name'] = $name;
  return $this;
}