cu-boulder/ucb2021_profile

此包已被废弃,不再维护。未建议替代包。

CU Boulder的Drupal 9基础配置文件

安装: 156

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 4

分支: 0

公开问题: 1

类型:drupal-custom-profile

dev-main 2022-08-03 21:31 UTC

README

Nextpress的Drupal 9安装配置文件

安装

将以下内容添加到composer.json文件的require部分

"cu-boulder/ucb_2021_profile": "dev-main"

同时添加到repositories部分

  {
      "type": "git",
      "url": "https://github.com/CuBoulder/ucb_2021_profile.git"
  }

此配置文件不包含cu-boulder/*模块或主题将无法正常工作。

要安装Nextpress的本地版本,请按照nextpress-project-template中的说明操作

目录结构

该配置文件主要包含支持安装的配置文件。将段落或页面类型的配置放入ucb_custom_page_typesucb_custom_paragraph_types仓库。

配置

config/install

  • 所有核心相关内容
  • 自定义媒体类型
  • 自定义视图模式
  • 用户角色
  • 站点设置
  • 区块布局
  • 自定义段落和页面类型所依赖的任何配置

config/optional

  • 图片样式
  • 所见即所得文本编辑器设置
  • 依赖于config/install目录中的配置的任何配置

ucb2021_profile.info.yml

包含要安装的模块列表。如果模块不是核心模块,请确保在composer.json文件中也要求安装该模块。

ucb2021_profile.menu.links.yml

向UI添加菜单链接

ucb2021_profile.install

包含hook_install()hook_update()

ucb2021_profile.profile

包含在.info文件中定义的模块安装后运行的hook_modules_installed()。大多数cu-boulder/*模块都安装在此处。