跳转到主要内容
akon 提交于 11 October 2011

普通的api指的就是类似于drupal_get_path,theme()函数之类的,在使用的时候直接调用就可以了。而hook函数则需要自己定义函数的具体内容,比如hook_block。现在还想知道一些这两种之间的具体区别。

而且hook函数的介绍中有一句“Allow modules to interact with the Drupal core.”其中这个drupal core指的的是什么?