function mollie_payment_payment_method_configuration_load in Mollie Payment 7.2
Same name and namespace in other branches
- 7 mollie_payment.module \mollie_payment_payment_method_configuration_load()
Load the configuration from the database.
1 call to mollie_payment_payment_method_configuration_load()
- mollie_payment_entity_load in ./
mollie_payment.module - Implements hook_entity_load().
File
- ./
mollie_payment.module, line 746 - Provides Mollie integration for the Payment platform.
Code
function mollie_payment_payment_method_configuration_load($pmid) {
$config = db_select('mollie_payment_payment_method_configurations', 'c')
->fields('c', array(
'configuration',
))
->condition('pmid', $pmid, '=')
->execute()
->fetchField();
return unserialize($config);
}