This project is not covered by Drupal’s security advisory policy.

This module provides a way to give form modes a route and access check.

currently in Drupal 8 you need to define (custom form modes) these in your own custom module routing file.

However this module creates a new config entity that once you create a form mode you can associate that from mode with a path and user access roles.

Workflow
- 1) create a form mode
- 2) go to the content type entity (such as user, node, group ect ) and add the new from display
- 3) go to this module admin and give it a path and check which roles can access it.

Note:
Paths are for form modes so you are editing the entity.

Paths must include the entity type

Example:
Node:
/test/{node}/some-cool-path
/somepath/{node}/do-some-editing

User
/welcome/{user}/continue-something

@todo
- make the 3 static calls to Drupal services properly dependency injected (sorry i was lazy)

What is coming (possibly)
the road ahead allow to control from mode edit page title,

Supporting organizations: 
Sponsor Development

Project information

Releases