public function TransactionInterface::setProperty in Transaction 8
Sets a property value.
Parameters
string $key: Property key.
string $value: Value to store. NULL will delete the property.
Return value
\Drupal\transaction\TransactionInterface The called transaction.
1 method overrides TransactionInterface::setProperty()
- Transaction::setProperty in src/
Entity/ Transaction.php - Sets a property value.
File
- src/
TransactionInterface.php, line 212
Class
- TransactionInterface
- The interface for transaction entities.
Namespace
Drupal\transactionCode
public function setProperty($key, $value = NULL);