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

2.2.0 2024-12-13 11:50 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