entity

The entity element in the configurable modifier triggers file defines a set of trigger conditions.

There are two possible structures for the entity element depending on whether the operation performed on an entity must satisfy all the specified trigger conditions, or whether it is sufficient for at least one of the trigger conditions to be satisfied.

If all the trigger conditions must be satisfied, you define the trigger conditions within an all-of element, as follows:
<entity>
  <all-of>
    ... a set of trigger conditions, all of which must be satisfied ...
  </all-of>
</entity>
If at least one of the trigger conditions must be satisfied, you define the trigger conditions within an any-of element, as follows:
<entity>
  <any-of>
    ... a set of trigger conditions, at least one of which must be satisfied ...
  </any-of>
</entity>

There are subelements for each of the different trigger conditions, and you define these within the all-of or any-of element. You can define as many trigger conditions as you want. Note that if there is only one trigger condition, you must nevertheless specify an all-of or any-of element.

The trigger condition subelements are described in the following subtopics (they must be specified in the order shown):