punktde/outofbandrendering
最新稳定版本:3.0.1
Composer 安装命令:
composer require punktde/outofbandrendering
包简介
Render a node using a given prototype path
README 文档
README
- Suplies a factory for building a ControllerContext out of a CLI request, that puts everything in place for rendering fusion code, includign node and resource links.
- Supplies an EelHelper to do out of band rendering of fusion objects.
This can be useful for example to render complex input for indexing into an Elasticsearch index.
Installation
$ composer require punktde/outofbandrendering
Configuration
You'll may set the base URI used in CLI context. If not "/" and "http://localhost" is used.
Neos: Flow: http: baseUri: https://example.com/
Example
In our Settings.yaml
Neos: ContentRepository: Search: defaultContext: FusionRendering: PunktDe\OutOfBandRendering\Eel\FusionRenderingHelper
Render a suggestion during index time using the given prototypePath:
__myProperty: search: elasticSearchMapping: type: keyword indexing: '${FusionRendering.render(node, "pathToProtoType")}'
统计信息
- 总下载量: 42.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-02