Skip to content

Feature model lang mapping

Sam Sehnert requested to merge features/model_lang_mapping into master

Table maps are now included in, and lang files excluded.

What I did

  • Improved loading of v2 models to allow for additive table maps, and bypassing lang files.
  • Maps generate with both table_map and table_fields.
  • Lang file can now be set false in the model, and won't be used.

Implications

Possibly existing implementations may have both (though it's highly unlikely). If there are any it may cause issues with the one.

Setup

None

How to test

Load a v2 model, add a table_map to it. Should intersect the keys with the table_fields to generate the full table map. Also set public static $lang_file = FALSE; on a v2 model, should allow no lang file requirement.

Task: {{link}}

Merge request reports