A bin/magento command that will show you the configured preferences for classes and interfaces.
Written on a train. On the way home from #mm15nl. In about an hour. Pretty neat, hu?
Run /bin/magento help preferences:info
to find out.
Example:
% bin/magento preferences:info LoggerInterface
Psr\Log\LoggerInterface => Magento\Framework\Logger\Monolog
Magento\Framework\DB\LoggerInterface => Magento\Framework\DB\Logger\Null
- Originally written on Magento 2 version 0.74.0-beta10,
- Currently tested on 2.1.4,
composer require davidandvinai/module-preferencesinfocommand
bin/magento module:enable DavidAndVinai_PreferencesInfoCommand
Why? Sin! Heresy!
Currently the module only searches global and adminhtml scope preferences.
Adding an option to specify the preference config area is on the todo list.
David Manners & Vinai Kopp
Twitter: @VinaiKopp
Twitter: @mannersd
BSD 3-Clause.
(c) 2017 Vinai Kopp, David Manners