os2forms/os2forms_organisation

OS2Forms organisation

Installs: 2 373

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:drupal-module

2.1.0 2024-09-12 08:14 UTC

This package is auto-updated.

Last update: 2024-11-12 08:39:53 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.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