Body
diff --git a/core/modules/text/text.module b/core/modules/text/text.module
index ea91ce839f3e884e5e93f24a91a07adc3a77e78d..5bcf7e28ad3bde8c626779505faa474ac9b26593 100644
--- a/core/modules/text/text.module
+++ b/core/modules/text/text.module
@@ -38,29 +38,6 @@ function text_help($route_name, RouteMatchInterface $route_match) {
}
}
-/**
- * Implements hook_theme().
- */
-function text_theme() {
- return [
- // Normally theme suggestion templates are only picked up when they are in
- // themes. We explicitly define theme suggestions here so that the text
- // field templates in core/modules/text/templates are picked up.
- 'field__text' => [
- 'render element' => 'elements',
- 'base hook' => 'field',
- ],
- 'field__text_long' => [
- 'render element' => 'elements',
- 'base hook' => 'field',
- ],
- 'field__text_with_summary' => [
- 'render element' => 'elements',
- 'base hook' => 'field',
- ],
- ];
-}
-
/**
* Generates a trimmed, formatted version of a text field value.
*
diff --git a/core/modules/text/templates/field--text-long.html.twig b/core/themes/classy/templates/field/field--text-long.html.twig
similarity index 100%
rename from core/modules/text/templates/field--text-long.html.twig
rename to core/themes/classy/templates/field/field--text-long.html.twig
diff --git a/core/modules/text/templates/field--text-with-summary.html.twig b/core/themes/classy/templates/field/field--text-with-summary.html.twig
similarity index 100%
rename from core/modules/text/templates/field--text-with-summary.html.twig
rename to core/themes/classy/templates/field/field--text-with-summary.html.twig
diff --git a/core/modules/text/templates/field--text.html.twig b/core/themes/classy/templates/field/field--text.html.twig
similarity index 100%
rename from core/modules/text/templates/field--text.html.twig
rename to core/themes/classy/templates/field/field--text.html.twig