Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello i want to create a entity that has a inline condition and i want to create that entity by code and give it some conditions. How can this entity filled with inline conditions?
Comments
Comment #1
joelpittetOne way would be to see how commerce_discount does it.
Comment #2
suryabhi CreditAttribution: suryabhi commentedYou can do this on create a template file of a particular callback.