Loading core/config/schema/core.data_types.schema.yml +9 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,15 @@ required_label: plural_label: type: label label: 'Plural variants' constraints: Regex: # Normally, labels cannot contain invisible control characters. In this particular # case, an invisible character (ASCII 3, 0x03) is used to encode translation # information, so carve out an exception for that only. # @see \Drupal\views\Plugin\views\field\NumericField pattern: '/([^\PC\x03])/u' match: false message: 'Labels are not allowed to span multiple lines or contain control characters.' # Internal Drupal path path: Loading core/modules/views/config/schema/views.field.schema.yml +0 −9 Original line number Diff line number Diff line Loading @@ -119,15 +119,6 @@ views.field.numeric: format_plural_string: type: plural_label label: 'Plural variants' constraints: Regex: # Normally, labels cannot contain invisible control characters. In this particular # case, an invisible character (ASCII 3, 0x03) is used to encode translation # information, so carve out an exception for that only. # @see \Drupal\views\Plugin\views\field\NumericField pattern: '/([^\PC\x03])/u' match: false message: 'Labels are not allowed to span multiple lines or contain control characters.' prefix: type: label label: 'Prefix' Loading Loading
core/config/schema/core.data_types.schema.yml +9 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,15 @@ required_label: plural_label: type: label label: 'Plural variants' constraints: Regex: # Normally, labels cannot contain invisible control characters. In this particular # case, an invisible character (ASCII 3, 0x03) is used to encode translation # information, so carve out an exception for that only. # @see \Drupal\views\Plugin\views\field\NumericField pattern: '/([^\PC\x03])/u' match: false message: 'Labels are not allowed to span multiple lines or contain control characters.' # Internal Drupal path path: Loading
core/modules/views/config/schema/views.field.schema.yml +0 −9 Original line number Diff line number Diff line Loading @@ -119,15 +119,6 @@ views.field.numeric: format_plural_string: type: plural_label label: 'Plural variants' constraints: Regex: # Normally, labels cannot contain invisible control characters. In this particular # case, an invisible character (ASCII 3, 0x03) is used to encode translation # information, so carve out an exception for that only. # @see \Drupal\views\Plugin\views\field\NumericField pattern: '/([^\PC\x03])/u' match: false message: 'Labels are not allowed to span multiple lines or contain control characters.' prefix: type: label label: 'Prefix' Loading