dongyan1974 2011-06-17 14:29
浏览 56
已采纳

想要修改Drupal 7中的实体视图

I want to create a module that will find particular types of entities and add a small html code beneath when the entity gets displayed. For example, Consider I want to display some information under Videos(entity). I want to write my own module that just adds that information under all videos. How do I do it?

  • 写回答

1条回答 默认 最新

  • dox90448 2011-06-17 14:46
    关注

    You are looking for hook_entity_view().

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?