Skip to content
Snippets Groups Projects
  1. Feb 11, 2017
    • Christian Kuhn's avatar
      [TASK] Allow customData in FormEngine data compiler · c702f446
      Christian Kuhn authored
      FormEngine is a two-fold process: First all dependent data is
      compiled into main "data array" by data providers, then the render
      engine uses this array to render forms.
      
      The main data array is restricted, top level keys can not be added
      or removed by single data providers.
      
      With the recent refactorings on element level, it is now much easier
      to create powerful extensions to single elements. Those may need
      additional data, the rest of the FormEngine doesn't know about.
      
      To allow custom data providers adding data that is not related
      to other keys from the data array, a general "customData" is
      introduced to the array. This is not filled nor used by core
      related classes, but it can be used by extensions to park data here.
      
      For v9, we will probably see another patch giving the form data groups
      control about the data array structure, but that may follow later.
      For v8 and v7, allowing custom data should solve the one or
      the other data provider usage for now.
      
      Change-Id: I8e88ec8f9e55eed7fc4a58590cbb5ead19baaae3
      Resolves: #79747
      Releases: master, 7.6
      Reviewed-on: https://review.typo3.org/51627
      
      
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: default avatarArtus Kolanowski <artus@ionoi.net>
      Tested-by: default avatarArtus Kolanowski <artus@ionoi.net>
      Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
      Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
      c702f446
  2. Feb 10, 2017
  3. Feb 09, 2017
  4. Feb 08, 2017
  5. Feb 07, 2017