os2forms/os2forms_sync

OS2Forms sync

Installs: 2 358

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:drupal-module

1.2.0 2024-05-21 08:54 UTC

This package is auto-updated.

Last update: 2024-10-21 09:55:54 UTC


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