• Type: Epic Epic
    • Status: Specification
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.0, 1.8.0
    • Fix Version/s: None
    • Component/s: Documentation, Field types
    • Labels:
    • Epic Name:
      FieldType Generator


      Provide a Command line tool that generates a Field Type skeleton

      php ezpublish/console ez:generate:fieldtype


      • Field Type name & identifier

      Bonus options:

      • external data, y/n
      • legacy: requires external tables

      Generated items

      Depending on the answers, the items of a FieldType are generated for the base files in a custom bundle:

      • Value & Type
      • YUI field edit & view files (templates + configuration ?)
      • Repository-forms FieldDefinition and FieldValue form mappers, and fieldsettings template
      • FieldDefinition & FieldValue twig templates + configuration
      • SearchField (need doc & research)
      • If external data, Storage class +

      Generated documentation

      An interesting extra feature would be to generate a markdown file at the root of the bundle, with a walkthrough of the generated files & code, with clickable links to the generated files.

        Issue Links

          Issues in Epic


            Transition Time In Source Status Execution Times Last Executer Last Execution Date
            Open Open Confirmed Confirmed
            1540d 3h 1 Bertrand Dunogier 02/Mar/17 2:15 PM
            Confirmed Confirmed Specification Specification
            32m 3s 1 Bertrand Dunogier 02/Mar/17 2:47 PM


              • Assignee:
                Bertrand Dunogier
              • Votes:
                4 Vote for this issue
                7 Start watching this issue


                • Created: