function paymentreference_instance_load in Payment 7
Implements menu wildcard loader to load a field instance.
Parameters
string $entity_type:
string $bundle:
string $field_name:
Return value
false|array
File
- modules/
paymentreference/ paymentreference.module, line 80 - Hook implementations and general functions.
Code
function paymentreference_instance_load($entity_type, $bundle, $field_name) {
$instance = field_info_instance($entity_type, $field_name, $bundle);
return $instance ? $instance : FALSE;
}