public function TransactionType::setOptions in Transaction 8
Sets the transaction type options, replacing the currently set.
Parameters
array $options: The new set of options.
Return value
\Drupal\transaction\TransactionTypeInterface The called transaction type.
Overrides TransactionTypeInterface::setOptions
File
- src/
Entity/ TransactionType.php, line 226
Class
- TransactionType
- Provides a type of transaction.
Namespace
Drupal\transaction\EntityCode
public function setOptions(array $options) {
$this->options = $options;
return $this;
}