localgovdrupal/localgov_forms
最新稳定版本:1.0.0-beta11
Composer 安装命令:
composer require localgovdrupal/localgov_forms
包简介
LocalGov Drupal distribution: Webform additions.
README 文档
README
Provides additional configuration, styling and components for the Drupal Webform module.
Additional components
- LocalGov Forms Date - A date input field based on the GDS Date Input pattern
- LocalGov address lookup - Webform element with a configurable address lookup backend. Geocoder plugins act as backends.
Plugins
- Personally Identifiable Information (PII) redactor from Webform submissions: At the moment, a plugin manager
plugin.manager.pii_redactorand a sample plugin are provided.
Dependencies
The geocoder-php/nominatim-provider package is necessary to run automated tests:
$ composer require --dev geocoder-php/nominatim-provider
The localgovdrupal/localgov_geo and localgovdrupal/localgov_os_places_geocoder_provider packages are needed to use the Ordnance Survey Places API-based address lookup plugin. Once these packages are installed, the Localgov OS Places plugin will become available for selection from the Localgov address lookup element's configuration form.
Editing webforms
Webforms in Drupal are config entities, therefore are by default exported with the website configuration.
It is often desirable that webforms are built and maintained by non-developers.
To avoid the configuration being removed by deployments, install the Config ignore module and under /admin/config/development/configuration/ignore add the following:
webform.webform.*
webform.webform_options.*
统计信息
- 总下载量: 43.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-09-16