Skip to content

oliverpolden/form_reference

Repository files navigation

INTRODUCTION

The Form Reference module adds a new form reference field which can be used to load a form within an entity.

RECOMMENDED MODULES

These two modules allow PSR-4 strategy for defining forms. This is an elegant way of creating forms that are defined in their own files and are autoloaded.

As of 8th Jan 2015 the COOL module isn't up to date with the Drupal 8 APIs and should be patched as per this issue: https://www.drupal.org/node/2401887

INSTALLATION

CONFIGURATION

  • Add a form reference field to an entity making sure you select some forms that can be referenced.

TROUBLESHOOTING

A form exists but it won't load:

  • This is most likely because the form isn't included at runtime. You will need to define your own hook_form_reference(). See form_reference_form_reference().

KNOWN ISSUES

This has currently been developed to work with nodes. It uses the standard field API but cannot be guaranteed to work with other entities.

SIMILAR MODULES

MAINTAINERS

Current maintainers:

This project has been sponsored by:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages