You are here

public function TransactionTypeInterface::getOption in Transaction 8

Gets a transaction type additional option value.

Parameters

string $name: The option to retrieve.

mixed $default_value: Default value to return if no such option or it is empty.

Return value

mixed The option current value or the default value if not available.

1 method overrides TransactionTypeInterface::getOption()
TransactionType::getOption in src/Entity/TransactionType.php
Gets a transaction type additional option value.

File

src/TransactionTypeInterface.php, line 126

Class

TransactionTypeInterface
Provides an interface defining a type of transaction.

Namespace

Drupal\transaction

Code

public function getOption($name, $default_value = NULL);