This project is not covered by Drupal’s security advisory policy.
A Blade template engine for drupal, I create this engine is for work with Amaze UI 8.x-2.x theme, and Magic Theme module, and this engine need the blade package : https://github.com/hunteryun/blade, you can install it with composer (Run in drupal root dir):
composer require hunteryun/blade
and
In your other custom module file add this code (if you use magic theme module , don't need to do this):
/**
* Implements hook_cache_flush().
*/
function YOURMODULE_cache_flush() {
try {
if (function_exists('hunter_engine_clear_cache')) {
hunter_engine_clear_cache();
}
} catch (Exception $e) {
watchdog_exception('hunter engine clear cache fail', $e);
}
}
Full Demo : https://www.drupal.org/project/hunter
此引擎是为了与Amaze UI 8.x-2.x主题 和 Magic Theme模块配合使用, 它也许是一种非常特别的方法去制作主题,是你前所未见的,就像传统程序套html模板一样简单!我想这是很多中国程序员梦寐以求的,使用drupal强大的后台,以及强大的第三方模块资源来快速方便的做各种功能扩展,同时还能再也不用纠结于drupal的主题机制(html, page, node , region, block, field)这样的分层,可以像我们传统记忆里的那些国产cms、框架一样轻松做模板。
是的,你很幸运,你等到了这一天,由我Drupal猎人亲手为您打造的24k纯帅钛合金版主题开发工具,上吧,骚年,维护宇宙和平的任务就交给你了!相信自己,你就是天命之子!
猎人出品,必属精品!
Made by DrupalHunter: www.drupalhunter.com
史上最强中国风、国际范建站工具( HunterPHP ) : www.hunterphp.com
HunterPHP , 宇内最叼PHP框架,没有之一,完美继承Drupal 8 和 Laravel的优秀基因! 破解Drupal 与 Laravel的诸多痛点,比如万恶的主题覆写!符合现代开发快速,优质,易扩展 ,标准化等优势!并且已经拥有了Drupal所拥有的大量优质模块,比如Entity, Views等模块, 你不要问我有没有Panels , Display Suite,
webform这些和主题页面定制相关的东西,因为我从核心本质上根本就不存在这些痛点了。Drupal有一社区的扩展 , 而HunterPHP,基于标准Composer扩展,整个Packagist PHP库海洋都是我的扩展库, 人无我有,人有我精,猎人出品,必属精品!
官网:www.hunterphp.com
猎人客栈(QQ群): 41039491 (自由 逗逼 实干 天堂)
我的QQ: 498023235 (人在老家,专职接单)
Project information
- Created by zhiqiang.qiu on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 8.x-1.x-dev updated 13 Dec 2016 at 10:03 UTC

