Method: ProcessEngine::Parser::Extension::FormField#validation
- Defined in:
- app/models/process_engine/parser/extension/form_field.rb
#validation ⇒ Object
30 31 32 33 34 |
# File 'app/models/process_engine/parser/extension/form_field.rb', line 30 def validation element.xpath("camunda:validation//camunda:constraint").each_with_object({}) do |constraint, hash| hash[constraint["name"]] = constraint["config"] end end |