[!!!][FEATURE] Add showIconTable option for selectSingle fields 33/43933/10
authorNicole Cordes <typo3@cordes.co>
Fri, 9 Oct 2015 11:18:33 +0000 (13:18 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 15 Oct 2015 11:45:19 +0000 (13:45 +0200)
commite74c8481001ec287c4de246e78e6c0352d0434db
treedc5738ebb76f663898da440e8d92ce4f9b365431
parent3cecb0babe1e9ff270566e80ec166fe1a7e08b58
[!!!][FEATURE] Add showIconTable option for selectSingle fields

This patch introduces a new option "showIconTable" for select fields
with renderType "selectSingle". Furthermore it removes the functionality
for old options "noIconsBelowSelect" "foreign_table_loadIcons" and
"suppress_icons".

The advantages is to have only one option which controls the visibility
of the icon table instead of having multiple ways.

A migration wizards sets the new property according to the old behavior
and generates deprecation messages for the tables and fields using old
options.

Core TCA definitions are adjusted to use the new option. The language
fields are changed to show the icon table by default.

Resolves: #70033
Releases: master
Change-Id: I611cd50233255bbe35a371efac1f59dc086aa73e
Reviewed-on: http://review.typo3.org/43933
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
17 files changed:
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php
typo3/sysext/core/Classes/Migrations/TcaMigration.php
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/core/Configuration/TCA/sys_category.php
typo3/sysext/core/Configuration/TCA/sys_collection.php
typo3/sysext/core/Configuration/TCA/sys_file_collection.php
typo3/sysext/core/Configuration/TCA/sys_file_metadata.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/core/Configuration/TCA/sys_language.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-70033-TcaIconOptionsForSelectFields.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-70033-IntroducedTcaOptionShowIconTableForSelectSingleFields.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php
typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php
typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php
typo3/sysext/frontend/Configuration/TCA/tt_content.php
typo3/sysext/rtehtmlarea/Configuration/TCA/tx_rtehtmlarea_acronym.php
typo3/sysext/sys_note/Configuration/TCA/sys_note.php