diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php index ffa7191..568e853 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php @@ -20,7 +20,7 @@ class CustomBlockFieldTest extends CustomBlockTestBase { * * @var array */ - public static $modules = array('block', 'custom_block', 'link'); + public static $modules = array('block', 'custom_block', 'field'); /** * The created field. diff --git a/core/modules/text/text.libraries.yml b/core/modules/field/field.libraries.yml similarity index 100% rename from core/modules/text/text.libraries.yml rename to core/modules/field/field.libraries.yml diff --git a/core/modules/field/field.module b/core/modules/field/field.module index 5430b20..f38c540 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -146,25 +146,6 @@ function field_theme() { } /** - * Implements hook_library_info(). - */ -function field_library_info() { - $libraries['drupal.text'] = array( - 'title' => 'Text', - 'version' => \Drupal::VERSION, - 'js' => array( - drupal_get_path('module', 'field') . '/js/text.js' => array(), - ), - 'dependencies' => array( - array('system', 'jquery'), - array('system', 'jquery.once'), - array('system', 'drupal'), - ), - ); - return $libraries; -} - -/** * Implements hook_cron(). */ function field_cron() { diff --git a/core/modules/field/lib/Drupal/field/Tests/reEnableModuleFieldTest.php b/core/modules/field/lib/Drupal/field/Tests/reEnableModuleFieldTest.php index 5702719..875f3c6 100644 --- a/core/modules/field/lib/Drupal/field/Tests/reEnableModuleFieldTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/reEnableModuleFieldTest.php @@ -22,9 +22,6 @@ class reEnableModuleFieldTest extends WebTestBase { public static $modules = array( 'field', 'node', - // We use telephone module instead of test_field because test_field is - // hidden and does not display on the admin/modules page. - 'telephone' ); public static function getInfo() {