You are here

public function TransactionTypeInterface::setOption in Transaction 8

Sets a transaction type option.

Parameters

string $name: The option to set.

mixed $value: The new value.

Return value

\Drupal\transaction\TransactionTypeInterface The called transaction type.

1 method overrides TransactionTypeInterface::setOption()
TransactionType::setOption in src/Entity/TransactionType.php
Sets a transaction type option.

File

src/TransactionTypeInterface.php, line 147

Class

TransactionTypeInterface
Provides an interface defining a type of transaction.

Namespace

Drupal\transaction

Code

public function setOption($name, $value);