EntityConverter::PRINTABLE_ASCII
Regex to match printable ASCII characters.
Used to prevent database errors when loading configuration entities. Configuration entities IDs have an even more limited character set depending on their schema.
File
-
core/
lib/ Drupal/ Core/ ParamConverter/ EntityConverter.php, line 90
Class
- EntityConverter
- Parameter converter for upcasting entity IDs to full objects.
Namespace
Drupal\Core\ParamConverterCode
protected const PRINTABLE_ASCII = '[\\x20-\\x7E]+';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.