itk-dev/os2forms_cvr_lookup
最新稳定版本:1.4.0
Composer 安装命令:
composer require itk-dev/os2forms_cvr_lookup
包简介
Provides integration to CVR service provided by Serviceplatformen.
README 文档
README
Query the Danish CVR register for Drupal Webforms.
Service: https://digitaliseringskataloget.dk/integration/sf1530
Installation
Require it with composer:
composer require "itk-dev/os2forms_cvr_lookup"
Enable it with drush:
drush pm:enable os2forms_cvr_lookup
Add the following configuration:
$config['os2forms_cvr_lookup'] = [ 'azure_tenant_id' => '', 'azure_application_id' => '', 'azure_client_secret' => '', 'azure_key_vault_name' => '', 'azure_key_vault_secret' => '', 'azure_key_vault_secret_version' => '', 'service_agreement_uuid' => '', 'user_system_uuid' => '', 'user_uuid' => '', 'service_uuid' => '', 'service_endpoint' => '', 'service_contract' => dirname(DRUPAL_ROOT) . '/vendor/itk-dev/serviceplatformen/resources/online-service-contract/wsdl/context/OnlineService.wsdl', ];
Usage
This module provides functionality for querying the danish CVR register and showing the result. In general terms you use it by adding a query element, which when changed performs a query and populates other elements with the result.
The elements provided:
- CVR Element - Element which queries the Danish CVR register when changed.
- CVR Name Element - This is populated with the name from the above mentioned query result.
- CVR Street Element - This is filled with the name of the street from the result.
- CVR House Number Element - This is filled with the house number from the result.
- CVR Postal Code Element - This is filled with the postal code from the result.
- CVR City Element - This is filled with the city from the result.
Coding standards
Run phpcs with the provided configuration:
composer coding-standards-check // Apply coding standards composer coding-standards-apply
统计信息
- 总下载量: 2.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-22