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

Project information

  • chart icon838 downloads
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Downloads