Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292377

Content language settings configuration page needs to determine what entities and bundles to include

$
0
0

Problem/Motivation

Noticed during #1945226-38: Add language selector on menus that there should be a way to have things on the language settings wizard/workflow page: admin/config/regional/content-language without having to fake that they are translatable. The language settings page was added in #1810386: Create workflow to setup multilingual for entity types, bundles and fields.

in core/modules/language/language.module in function language_entity_supporte()

    if (!empty($info['fieldable']) && !empty($info['translatable'])) {
      $supported[$entity_type] = $entity_type;
    }

'fieldable' and 'translatable' can be set in the @EntityType (was plugin) annotation.
Things that are not fieldable or not translatable might still want to have language support and be on the settings page.

Proposed resolution

TBD

Remaining tasks

  • Evaluate how the configuration page for language settings (admin/config/regional/content-language) is assembled
  • ?

User interface changes

No UI changes anticipated.

API changes

TBD

Related issues


Viewing all articles
Browse latest Browse all 292377

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>