os2forms / os2forms_sync
OS2Forms sync
Installs: 2 389
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Type:drupal-module
Requires
- drupal/webform: ^6
- drush/drush: ^11 || ^12
- symfony/options-resolver: ^5.4 || ^6.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.1
- drupal/coder: ^8.3
- mglaman/drupal-check: ^1.4
- phpunit/phpunit: ^9.5
README
Installation
composer require os2forms/os2forms_sync drush pm:enable os2forms_sync
Edit settings on /admin/os2forms_sync/settings
.
API
See API for details on the API.
Usage
Publish a webform by checking “Publish” under webform setting » Third party settings » OS2Forms » OS2Forms sync
All published webforms are listed on /admin/os2forms/sync/webform
(API data on
/os2forms/sync/jsonapi/webform
).
Webforms available for import are listed on /admin/os2forms/sync/webform
.
Drush commands
drush os2forms-sync:import --help
Coding standards
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.1-fpm:latest composer install docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.1-fpm:latest composer coding-standards-check docker run --rm --interactive --tty --volume ${PWD}:/app node:18 yarn --cwd /app install docker run --rm --interactive --tty --volume ${PWD}:/app node:18 yarn --cwd /app coding-standards-check
Code analysis
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.1-fpm:latest composer install docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.1-fpm:latest composer code-analysis