* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Adapter\Module; use PrestaShop\PrestaShop\Adapter\Entity\Tab; use PrestaShop\PrestaShop\Core\Module\DataProvider\TabModuleListProviderInterface; @trigger_error( sprintf( '%s is deprecated since version 1.7.8.0 and will be removed in the next major version.', TabModuleListProvider::class ), E_USER_DEPRECATED ); /** * Class TabModuleListProvider is responsible for providing tab modules. * * @deprecated since 1.7.8.0 */ final class TabModuleListProvider implements TabModuleListProviderInterface { /** * {@inheritdoc} */ public function getTabModules($tabClassName) { $tabId = Tab::getIdFromClassName($tabClassName); $modules = Tab::getTabModulesList($tabId); return $modules['default_list']; } }