Loading core/.cspell.json +1 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ "ist", "please", "queuing", "sorry", "whitelist", "whitelisted", "writeable" Loading core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class OEmbedResourceConstraint extends SymfonyConstraint { public function __construct( mixed $options = NULL, public $unknownProviderMessage = 'The given URL does not match any known oEmbed providers.', public $disallowedProviderMessage = 'Sorry, the @name provider is not allowed.', public $disallowedProviderMessage = 'The @name provider is not allowed.', public $invalidResourceMessage = 'The provided URL does not represent a valid oEmbed resource.', public $providerErrorMessage = 'An error occurred while trying to retrieve the oEmbed provider database.', ?array $groups = NULL, Loading core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ public function build() { */ public function validateConfigurationForm(array &$form, FormStateInterface $form_state) { parent::validateConfigurationForm($form, $form_state); $form_state->setError($form['label'], 'Sorry system error. Save again.'); $form_state->setError($form['label'], 'System error. Save again.'); } } core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -284,7 +284,7 @@ public function testValidationMessages(): void { $web_assert->assertWaitOnAjaxRequest(); // The settings_tray_test_validation test plugin form always has a // validation error. $web_assert->elementContains('css', '#drupal-off-canvas', 'Sorry system error. Save again'); $web_assert->elementContains('css', '#drupal-off-canvas', 'System error. Save again.'); $this->disableEditMode(); $block->delete(); } Loading core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public function greet() { if (isset($this->service)) { return $this->service->greet() . ' World'; } return 'Sorry, no service.'; return 'No service.'; } } Loading
core/.cspell.json +1 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ "ist", "please", "queuing", "sorry", "whitelist", "whitelisted", "writeable" Loading
core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class OEmbedResourceConstraint extends SymfonyConstraint { public function __construct( mixed $options = NULL, public $unknownProviderMessage = 'The given URL does not match any known oEmbed providers.', public $disallowedProviderMessage = 'Sorry, the @name provider is not allowed.', public $disallowedProviderMessage = 'The @name provider is not allowed.', public $invalidResourceMessage = 'The provided URL does not represent a valid oEmbed resource.', public $providerErrorMessage = 'An error occurred while trying to retrieve the oEmbed provider database.', ?array $groups = NULL, Loading
core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ public function build() { */ public function validateConfigurationForm(array &$form, FormStateInterface $form_state) { parent::validateConfigurationForm($form, $form_state); $form_state->setError($form['label'], 'Sorry system error. Save again.'); $form_state->setError($form['label'], 'System error. Save again.'); } }
core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -284,7 +284,7 @@ public function testValidationMessages(): void { $web_assert->assertWaitOnAjaxRequest(); // The settings_tray_test_validation test plugin form always has a // validation error. $web_assert->elementContains('css', '#drupal-off-canvas', 'Sorry system error. Save again'); $web_assert->elementContains('css', '#drupal-off-canvas', 'System error. Save again.'); $this->disableEditMode(); $block->delete(); } Loading
core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public function greet() { if (isset($this->service)) { return $this->service->greet() . ' World'; } return 'Sorry, no service.'; return 'No service.'; } }