Download the PHP package openeuropa/oe_contact_forms without Composer
On this page you can find all versions of the php package openeuropa/oe_contact_forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download openeuropa/oe_contact_forms
More information about openeuropa/oe_contact_forms
Files in openeuropa/oe_contact_forms
Package oe_contact_forms
Short Description OpenEuropa Contact Forms module.
License EUPL-1.2
Informations about the package oe_contact_forms
OpenEuropa Contact Forms
This is a Drupal module that is an extension to drupal core contact forms and defines the European Commission corporate forms.
The OpenEuropa Contact Forms project provides storage for Contact messages in the form of fully-fledged entities using Contact Storage. This messages can then be automatically exported for each available Contact form.
Usage
Corporate contact form behaviour can be enabled on the contact form add/edit page, allowing form fields, confirmation message and email values to be defined.
Permissions
Granular permissions are exposed via contributed modules for handling contact forms and contact message entities:
- View contact messages
- Update contact messages
- Delete contact messages
- Export contact form messages
Development setup
Requirements
You can build the development site by running the following steps:
-
Install Virtuoso. The easiest way to do this is by using the OpenEuropa Triple store development Docker container which also pre-imports the main Europa vocabularies.
- Install the Composer dependencies:
A post command hook (drupal:site-setup
) is triggered automatically after composer install
.
This will symlink the module in the proper directory within the test site and perform token substitution in test configuration files such as behat.yml.dist
.
Please note: project files and directories are symlinked within the test site by using the OpenEuropa Task Runner's Drupal project symlink command.
If you add a new file or directory in the root of the project, you need to re-run drupal:site-setup
in order to make
sure they are be correctly symlinked.
If you don't want to re-run a full site setup for that, you can simply run:
bash $ ./vendor/bin/run drupal:site-install bash docker-compose up bash docker-compose up -d bash docker-compose exec web composer install docker-compose exec web ./vendor/bin/run drupal:site-install bash docker-compose exec web ./vendor/bin/grumphp run bash docker-compose exec web ./vendor/bin/phpunit bash docker-compose exec web ./vendor/bin/behat
$ docker-compose exec sparql ./vendor/bin/robo purge
$ ./vendor/bin/run sparql:purge
$ docker-compose exec sparql ./vendor/bin/robo import
$ ./vendor/bin/run sparql:import
$ docker-compose exec sparql ./vendor/bin/robo purge $ docker-compose exec sparql ./vendor/bin/robo import
$ ./vendor/bin/run sparql:reset
bash
docker-compose exec -e XDEBUG_SESSION=1 web
Please note that, starting from XDebug 3, a connection error message will be outputted in the console if the variable is
set but your client is not listening for debugging connections. The error message will cause false negatives for PHPUnit
tests.
To initiate step debugging from the browser, set the correct cookie using a browser extension or a bookmarklet
like the ones generated at https://www.jetbrains.com/phpstorm/marklets/.
## Contributing
Please read [the full documentation](https://github.com/openeuropa/openeuropa) for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the available versions, see the [tags on this repository](https://github.com/openeuropa/oe_contact_forms/tags).
All versions of oe_contact_forms with dependencies
cweagans/composer-patches Version ^1.4 || ^2
drupal/contact_storage Version ^1.3
drupal/contact_storage_export Version ^1.15
drupal/core Version ^10
drupal/multivalue_form_element Version ^1.0.0-beta6
openeuropa/oe_corporate_countries Version ^2.0.0-alpha8
openeuropa/rdf_skos Version ^1.0.0-alpha10