By Henrik E Bechmann on
function commerce_customer_options_list($field) implements hook_options_list. I would like to pre-empt this call. How do I do that?
It is directed to the module that created the field. through the field'\s module name. Can I safely redirect the call by changing the field's module name?
or...
change 'default_formatter' => 'commerce_customer_profile_reference_display',
or 'property_callbacks' => array('commerce_customer_profile_property_info_callback'),
in function commerce_customer_field_info() {
around line 760 of commerce_customer.module?
I've run into problems trying this.
Any suggestions appreciated.
- H
Comments
So I asked the CommerceGuys
So I asked the CommerceGuys and they advised to roll-your-own options widget, which I did.
Stay tuned...
- Henrik
Yes, usually it's best to
Yes, usually it's best to tell us what your final goal is, as well as how you are trying to achieve it. That gives us the most information to be able to give effective assistance.
Contact me to contract me for D7 -> D10/11 migrations.