os2forms / os2forms_organisation
OS2Forms organisation
Installs: 2 600
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:drupal-module
Requires
- php: ^8.1
- drupal/webform: ^6.1
- drush/drush: ^11 || ^12
- itk-dev/serviceplatformen: ^1.4
- os2web/os2web_audit: ^0.1.1
- os2web/os2web_nemlogin: ^1.2
- 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
- mglaman/phpstan-drupal: ~1.2.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-13 11:56:06 UTC
README
Installation
composer require os2forms/os2forms_organisation drush pm:enable os2forms_organisation
Configure organisation API endpoint on /admin/os2forms_organisation/settings
.
NOTE This module creates and uses a user field called field_organisation_user_id
.
It is up to the using party to ensure this field is set to the
SF1500
organisation "bruger" ID. If it is not, nothing is displayed.
Consider using OS2Forms Organisation OpenID Connect
for setting this user field if using OpenID Connect.
Drush commands
drush os2forms_organisation:lookup --help
Coding standards
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer install docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer coding-standards-check docker run --rm --interactive --tty --volume ${PWD}:/app node:20 yarn --cwd /app install docker run --rm --interactive --tty --volume ${PWD}:/app node:20 yarn --cwd /app coding-standards-check
Code analysis
docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer install docker run --rm --interactive --tty --volume ${PWD}:/app itkdev/php8.3-fpm:latest composer code-analysis