1.2. 概念:模块
Last updated on
14 April 2025
模块通常包含 PHP、JavaScript 以及 CSS 等文件,用于扩展站点,添加功能特性。安装操作用于启用 模块,卸载操作用于卸载模块。提醒一下,在卸载之前,可能需要移除相关数据和配置。对于每个已安装 模块,它会增加网站页面生成所需时间,所以不需要的模块,最好把它卸载。
Drupal 核心模块,提供的功能有,比如:
- 管理用户账号(User 核心模块)
- 管理基本内容(Node 核心模块)和字段(Field 和 Field UI 核心模块;也有核心模块提供字段类型)
- 管理导航菜单(Menu UI 核心模块)
- 从现有内容制作列表,网格和区块(Views 和 Views UI 核心模块)
您可以从 Drupal 官网:模块下载 下载更多贡献模块, 还可以创建自定义模块。
This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.
Source file: understanding-modules.asciidoc
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion