| 
					阅读:2939回复:0
				 使用 Drupal API 创建内容类型
					<div class="field-items"><div class="field-item even">  在创建 Drupal 模块或 Drupal 安装配置文件(Installation Profiles)时,有时需要通过 API 创建内容类型,以下代码代码包含了构造内容类型对象以及使用 node_type_save() 向 Drupal 中添加内容类型的用法。 <div class="codeblock geshifilter"><span style="color: #000000"><span style="color: #0000BB"> | |
 
							
 
				