valantic-spryker/category-sitemap-connector
最新稳定版本:1.0.0
Composer 安装命令:
composer require valantic-spryker/category-sitemap-connector
包简介
Extends Sitemap module with category urls
关键字:
README 文档
README
Description
This module is used alongside valantic-spryker/sitemap Sitemap module to extend the sitemap with category URLs.
Usage
composer require valantic-spryker/category-sitemap-connector- Since this is under ValanticSpryker namespace, make sure that in
config_default:$config[KernelConstants::CORE_NAMESPACES]has the namespace$config[KernelConstants::PROJECT_NAMESPACES]has the namespace
- Add
CategorySitemapCreatorPluginto\ValanticSpryker\Zed\Sitemap\SitemapDependencyProvider::getSitemapCreatorPluginStack - Add
\ValanticSpryker\Shared\CategorySitemapConnector\CategorySitemapConnectorConstants::RESOURCE_TYPEto\ValanticSpryker\Yves\Sitemap\SitemapDependencyProvider::getAvailableSitemapRouteResources - Now the Sitemap will include published URLs of categories.
Testing
Tests do not work without Spryker environment, since Spryker helpers are used. To run tests, execute following command in root Spryker directory:
codecept run -c vendor/valantic-spryker/category-sitemap-connector/tests/ValanticSprykerTest/Zed/CategorySitemapConnector
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2024-12-03