code development

Events happening in the community are now at Drupal community events on www.drupal.org.
dwkitchen's picture

There is no method conditon for this instance of the class RulesAnd. in FacesExtendable->__call()

rules_and() doesn't work with sub conditions in hook_default_rules_configuration_alter() giving error:

FacesExtendableException: There is no method conditon for this instance of the class RulesAnd. in FacesExtendable->__call()

Works:
<?php
$configs['commerce_tax_type_eu_vat']->condition(rules_or()
->condition('component_rules_commerce_eu_vat_country_list', array('commerce_order:select' => 'commerce-line-item:order'))
->condition(rules_and()

Read more
lrocandio's picture

how to show all the node props in a block view

Hi,

I´m doing a module that attempt to show a bunch of nodes created programatically

Read more
Subscribe with RSS Syndicate content