Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/mageworx/module-seobreadcrumbs/Helper/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/mageworx/module-seobreadcrumbs/Helper/Category.php
<?php
/**
 * Copyright © 2016 MageWorx. All rights reserved.
 * See LICENSE.txt for license details.
 */

namespace MageWorx\SeoBreadcrumbs\Helper;

/**
 * SEO Breadcrumbs category helper
 */
class Category extends \Magento\Framework\App\Helper\AbstractHelper
{
    /**
     * We hardcoded the default category ID for magento 2.0.x compatibility:
     * @link https://github.com/magento/magento2/blob/2.0/app/code/Magento/Catalog/Setup/InstallData.php#L109
     * @see \Magento\Catalog\Helper\DefaultCategory For magento 2.1.x
     *
     * @return array
     */
    public function getRootAndDefaultIds()
    {
        return [
            \Magento\Catalog\Model\Category::TREE_ROOT_ID,
            2
        ];
    }
}

Spamworldpro Mini