Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295142

Add config validation for the allowed characters of machine names

$
0
0

Problem/Motivation

Config entities require validation for REST support. Add a generic "machine_name" type and validate the value.

Proposed resolution

Add type: machine_name with validation constraints — with both the regex and length overridable to allow non-standard machine name shapes.

Remaining tasks

None.

User interface changes

None.

API changes

API addition: machine_name config schema data type

Data model changes

None.


Viewing all articles
Browse latest Browse all 295142

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>