Skip to content
Snippets Groups Projects
  • Christian Kuhn's avatar
    [FEATURE] Add default TCA columns from ctrl · 2c0df92f
    Christian Kuhn authored
    This patch adds a layer to the "load and create final TCA"
    process. When "base" TCA files in 'Configuration/TCA' define
    'ctrl' capabilities like 'languageField=sys_language_uid',
    these fields need according 'columns' definitions.
    
    The core now adds default definitions of such columns
    if they do not exist after loading 'Configuration/TCA'
    files, and before loading 'Configuration/TCA/Overrides'
    files.
    
    Developers no longer need to define such columns and
    can rely on core adding them, if a capability is
    enabled in 'ctrl'. There are two advantages: First,
    it adds a level of control for these columns away
    from extensions to the core, which is good for
    future development in this area. Secondly, extension
    developers no longer need to take care of nasty
    configuration details of these columns and can
    remove lots of boilerplace TCA definitions that had
    to be maintained manually before. The patch shows
    this: About 6000 lines of TCA definitions can be
    removed.
    
    These columm...
    2c0df92f