Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  modules
  src
  templates
  tests
  README.md
  composer.json
  dx8_keystone.info.yml
  dx8_keystone.libraries.yml
  dx8_keystone.module
Size: Mime:
  README.md

Keystone Form

  • Offers a base class that allows us to create custom DX8 elements for Keystone forms.
  • Has a dx8_keystone_form_element_example module that developers can base their form element off of.

Extending DX8 Keystone to create your own form element

All form elements should extend KeystoneFormElementBase base class. The KeystoneFormElementBase base class contains default fields based on Keystone's config object that get's passed to FormRenderer.createForm({...}); as long as the option is of type string or boolean.

All custom element classes should be placed in the src/Plugin/CustomElement folder.

See the ``dx8_keystone_form_element_example` for full example.