lexik/cmsi18n-bundle
Composer 安装命令:
composer require lexik/cmsi18n-bundle
包简介
Lexik mini i18n CMS bundle pour Symfony2.
关键字:
README 文档
README
Prerequisites
This bundle requires Symfony 2.8+
Installation
Add composer require lexik/cmsi18n-bundle
to your composer.json file:
php composer.phar require "lexik/cmsi18n-bundle"
Register the bundle in app/AppKernel.php:
public function registerBundles()
{
return array(
// ...
new Lexik\Bundle\CMSI18nBundle\LexikCMSI18nBundle(),
);
}
Configuration
Configure the SSH keys path in your config.yml :
lexik_cmsi18n:
frontend_layout: '::base.html.twig'
preferred_locales: []
templating_extensions: []
Usage
Twig
{{ page_path(block_reference) }}
{{ page_content(block_reference) }}
{{ cms_block(block_reference) }}
统计信息
- 总下载量: 72
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2017-02-01