JsonApiSpec::MEMBER_NAME_REGEXP
Same name in other branches
- 10 core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::MEMBER_NAME_REGEXP
- 11.x core/modules/jsonapi/src/JsonApiSpec.php \Drupal\jsonapi\JsonApiSpec::MEMBER_NAME_REGEXP
Regular expression to check the validity of a member name.
File
-
core/
modules/ jsonapi/ src/ JsonApiSpec.php, line 59
Class
- JsonApiSpec
- Defines constants used for compliance with the JSON:API specification.
Namespace
Drupal\jsonapiCode
const MEMBER_NAME_REGEXP = '/^' . self::MEMBER_NAME_GLOBALLY_ALLOWED_CHARACTER_CLASS . '{1}(' . self::MEMBER_NAME_INNER_ALLOWED_CHARACTERS . '*' . self::MEMBER_NAME_GLOBALLY_ALLOWED_CHARACTER_CLASS . '{1}' . ')?$/u';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.