public function aroundGetData(CategoryDataProvider $dataProvider, \Closure $proceed)
{
$data = $proceed();
$currentCategory = $dataProvider->getCurrentCategory();
if ($currentCategory->getId() === null || $currentCategory->getLevel() < 2) {
$data[$currentCategory->getId()]['use_default']['is_virtual_category'] = true;
}
$data[$currentCategory->getId()]['sorted_products'] = $this->getProductSavedPositions($currentCategory);
$data[$currentCategory->getId()]['product_sorter_load_url'] = $this->getProductSorterLoadUrl($currentCategory);
$data[$currentCategory->getId()]['price_format'] = $this->localeFormat->getPriceFormat();
return $data;
}