function mollie_payment_payment_method_configuration_save in Mollie Payment 7
Same name and namespace in other branches
- 7.2 mollie_payment.module \mollie_payment_payment_method_configuration_save()
Store the configuration in the database.
4 calls to mollie_payment_payment_method_configuration_save()
- mollie_payment_payment_method_insert in ./
mollie_payment.module - Implements hook_ENTITY_TYPE_ACTION().
- mollie_payment_payment_method_update in ./
mollie_payment.module - Implements hook_ENTITY_TYPE_ACTION().
- mollie_payment_update_7101 in ./
mollie_payment.install - Move payment method configuration from the variable store to an own database table.
- mollie_payment_update_7102 in ./
mollie_payment.install - Rename mollie_id to mollie_api_key.
File
- ./
mollie_payment.module, line 550 - Provides Mollie integration for the Payment platform.
Code
function mollie_payment_payment_method_configuration_save($pmid, $config) {
db_merge('mollie_payment_payment_method_configurations')
->key(array(
'pmid' => $pmid,
))
->fields(array(
'configuration' => serialize($config),
))
->execute();
}