importDefaultFacets example

class Migrations_Migration918 extends AbstractMigration
{
    /** * {@inheritdoc} */
    public function up($modus)
    {
        $this->addModule();

        $this->addCategoryConfig();

        $this->importDefaultFacets();

        $this->importFacetTranslations();

        $this->createSearchFacets();

        $this->addNewCategoryFilterParam();
    }

    private function addModule()
    {
        $sql = <<<SQL
Home | Imprint | This part of the site doesn't use cookies.