localgovdrupal / localgov_core
LocalGov Drupal 发行版的辅助函数和核心依赖。
2.13.8
2024-09-17 11:52 UTC
Requires
- drupal/field_group: ^3.1
- drupal/image_widget_crop: ^2.3
- drupal/linkit: ^6.0-beta1
- drupal/media_library_edit: ^3.0
- drupal/metatag: ^2.0.2
- drupal/pathauto: ^1.8
- drupal/role_delegation: ^1.1
- drupal/token: ^1.7
Requires (Dev)
- drupal/paragraphs: ^1.12
- 2.x-dev
- 2.13.8
- 2.13.7
- 2.13.6
- 2.13.5
- 2.13.4
- 2.13.3
- 2.13.2
- 2.13.1
- 2.13.0
- 2.12.2
- 2.12.1
- 2.12.0
- 2.11.2
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.0.1
- 1.0.0
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-fix/2.x/coding-standards-from-drupal-coder-update
- dev-release-2.x
- dev-fix/2.x/245-installing-site-from-existing-config-fails
- dev-220/remove-access-files-overview-permission
- dev-243/fix/is-syncing
- dev-fix/2.x/static-analysis-errors
- dev-fix/localgov-roles-modules-installed
- dev-fix/2.x/eventdispatcher-update
- dev-feature/2.x/211-installing-blocks
- dev-feature/216/admin-role-module
- dev-216/add-admin-role
- dev-694/add-compare-button-top-page
- dev-feature/57/card-view-mode
- dev-fix/2.x/additional-strict-type-fixes
- dev-feature/2.x/shared-workflows
- dev-feature/718-content-tabs-weights-core-module
- dev-222/remove-redirect
- dev-638/feature/content_access_by_path
- dev-fix/2.x/210-strict-types
- dev-feature/fix-deprecations-missing-image-loading-config
- dev-fix/2.x/207-coding-standards
- dev-fix/2.x-205-coding-standards-strict-types
- dev-feature/2.x-203-user-manager-role-constant
- dev-668/allow-csv-media-document
- dev-feature/2.x-192-stacked-header
- dev-feature/186-coding-standards
- dev-fix/184-alert-fail
- dev-feature/d10-linkit/182
- dev-feature/d10-compatibility/182
- dev-feature/2.x/512-redirect-at-login
- dev-fix/551-redirect-errors
- dev-feature/2.x/generator-tag/176
- dev-feature/drupal-10
- dev-feature/160-ckeditor5-linkit
- dev-fix/153-media-edit-update
- dev-header_block_cache_tags
- dev-bug/field-formatter-class-depencency
- dev-fix/147-custom-patch-for-field-group-failed
- dev-feature/2.x/allow-media-items-to-be-cropped
- dev-feature/2.x/239-freestyle-crop
- dev-feature/2.x/media-edit
- dev-fix/142-pathauto_patterns
- dev-feature/2.x/video-full-width
- dev-fix/github-workflow-update-2022-06-22
- dev-fix/2.x/derived-test-fail
- dev-fix/129-localgov_media-dependencies
- dev-fix/122-mising-test-description
- dev-feature/2.x-add-localgov_admin_theme_improvements-module/118
- dev-feature/2.x/workflow
- dev-feature/101-relabel-localgov-media
- dev-feature/2.x/30-default-documentation
- dev-feature/2.x/30-permissions-install
- dev-feature/1.x/85-linkit-email-matcher
- dev-feature/85-linkit-email-matcher
- dev-fix/75-2.x-fix-paragraph
- dev-release-1.x
- dev-fix/75-fix-paragraphs
- dev-feature/drush-deploy-compatible-field-renaming
- dev-fix/35-rename-fields
- dev-fix/35a-rename-fields-field_group
- dev-feature/githubactions-6-update-workflow-files
- dev-feature/45-responsive-image-28-9
- dev-feature/41-tables-in-ckeditor
- dev-feature/homepage-paragraphs-display-modes
- dev-feature/78-naming-conventions
- dev-feature/31-naming-consistency
- dev-feature/localgov-42--workflow
- dev-feature/media-in-localgov-core
- dev-feature/services-6-block-tests
- dev-feature/27-core-version-requirement
This package is auto-updated.
Last update: 2024-09-24 07:33:01 UTC
README
LocalGov Drupal 核心模块,用于辅助函数和核心依赖。
默认块
此模块包含一种机制,当安装其他 localgov 模块时,将默认块放置到您网站的当前活动主题中。这是为了减少站点所有者在安装由 localgov 模块提供的新功能时需要完成的工作。如果您不希望发生这种情况,可以通过将以下内容添加到您的 settings.php 文件中来关闭此功能:
$config['localgov_core.settings']['install_default_blocks'] = FALSE;
如果您是模块维护者并希望使用此功能,请在您的模块中创建一个文件在 config/localgov/block.description.yml。文件名中的描述部分可以是您喜欢的任何内容。
在该文件中,放置单个块的导出配置 yaml,并删除以下键值:
- uuid
- id
- theme
默认块安装器将读取该文件,并在当前活动主题中创建块的实例,如果 localgov_base 和 localgov_scarfolk 存在并且已启用,则还会包括它们。每个实例将根据主题和块插件名称的组合生成一个 id。
使用此功能可以让您的块自动出现在现有 custom 主题的 localgov 网站的正确位置。这还可以节省您管理多个块配置文件的工作。