<bdo id='APPdB'></bdo><ul id='APPdB'></ul>
  • <tfoot id='APPdB'></tfoot>

  • <small id='APPdB'></small><noframes id='APPdB'>

    <legend id='APPdB'><style id='APPdB'><dir id='APPdB'><q id='APPdB'></q></dir></style></legend>

    1. <i id='APPdB'><tr id='APPdB'><dt id='APPdB'><q id='APPdB'><span id='APPdB'><b id='APPdB'><form id='APPdB'><ins id='APPdB'></ins><ul id='APPdB'></ul><sub id='APPdB'></sub></form><legend id='APPdB'></legend><bdo id='APPdB'><pre id='APPdB'><center id='APPdB'></center></pre></bdo></b><th id='APPdB'></th></span></q></dt></tr></i><div id='APPdB'><tfoot id='APPdB'></tfoot><dl id='APPdB'><fieldset id='APPdB'></fieldset></dl></div>

        你能控制钩子的顺序“射击"吗?在 Drupal 中?

        Can you Control the Order of Hooks quot;Firingquot; in Drupal?(你能控制钩子的顺序“射击吗?在 Drupal 中?)
        <legend id='N2cYQ'><style id='N2cYQ'><dir id='N2cYQ'><q id='N2cYQ'></q></dir></style></legend>
        • <bdo id='N2cYQ'></bdo><ul id='N2cYQ'></ul>
        • <small id='N2cYQ'></small><noframes id='N2cYQ'>

          <tfoot id='N2cYQ'></tfoot>

                <tbody id='N2cYQ'></tbody>

                <i id='N2cYQ'><tr id='N2cYQ'><dt id='N2cYQ'><q id='N2cYQ'><span id='N2cYQ'><b id='N2cYQ'><form id='N2cYQ'><ins id='N2cYQ'></ins><ul id='N2cYQ'></ul><sub id='N2cYQ'></sub></form><legend id='N2cYQ'></legend><bdo id='N2cYQ'><pre id='N2cYQ'><center id='N2cYQ'></center></pre></bdo></b><th id='N2cYQ'></th></span></q></dt></tr></i><div id='N2cYQ'><tfoot id='N2cYQ'></tfoot><dl id='N2cYQ'><fieldset id='N2cYQ'></fieldset></dl></div>
                • 本文介绍了你能控制钩子的顺序“射击"吗?在 Drupal 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如果两个模块在 Drupal 中实现了相同的钩子,系统是否有办法定义钩子函数的调用顺序,还是只是绘制/字母顺序的运气?或者是其他东西?或者我的问题是否表明我以某种基本方式误解了 hooks,让我看起来很愚蠢?

                  If two modules implement the same hook in Drupal, does the system have a way to define which order the hook functions are called, or is it just luck of the draw/alphabetical ordering? Or something else? Or does my question show I misunderstand hooks in some fundamental way that makes me look dumb?

                  推荐答案

                  顺序是根据系统表中模块的权重设置确定的.如果两个模块的权重相同,则按字母顺序排列.

                  The order is determined based on the weight setting for the module in the system table. If two modules have the same weight, the order is alphabetical.

                  这篇关于你能控制钩子的顺序“射击"吗?在 Drupal 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                  <i id='GMaSQ'><tr id='GMaSQ'><dt id='GMaSQ'><q id='GMaSQ'><span id='GMaSQ'><b id='GMaSQ'><form id='GMaSQ'><ins id='GMaSQ'></ins><ul id='GMaSQ'></ul><sub id='GMaSQ'></sub></form><legend id='GMaSQ'></legend><bdo id='GMaSQ'><pre id='GMaSQ'><center id='GMaSQ'></center></pre></bdo></b><th id='GMaSQ'></th></span></q></dt></tr></i><div id='GMaSQ'><tfoot id='GMaSQ'></tfoot><dl id='GMaSQ'><fieldset id='GMaSQ'></fieldset></dl></div>

                    <tbody id='GMaSQ'></tbody>

                    <bdo id='GMaSQ'></bdo><ul id='GMaSQ'></ul>

                      <small id='GMaSQ'></small><noframes id='GMaSQ'>

                      <legend id='GMaSQ'><style id='GMaSQ'><dir id='GMaSQ'><q id='GMaSQ'></q></dir></style></legend>
                      <tfoot id='GMaSQ'></tfoot>