summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/field
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/field')
-rw-r--r--core/modules/field/field.module4
-rw-r--r--core/modules/field/src/Hook/FieldHooks.php4
-rw-r--r--core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php2
-rw-r--r--core/modules/field/tests/src/Kernel/FieldCrudTest.php2
-rw-r--r--core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php2
-rw-r--r--core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php1
6 files changed, 8 insertions, 7 deletions
diff --git a/core/modules/field/field.module b/core/modules/field/field.module
index 1819df65669d..ee5db3615262 100644
--- a/core/modules/field/field.module
+++ b/core/modules/field/field.module
@@ -16,10 +16,6 @@ use Drupal\Core\Form\FormStateInterface;
require_once __DIR__ . '/field.purge.inc';
/**
- * @} End of "defgroup field".
- */
-
-/**
* Assembles a partial entity structure with initial IDs.
*
* @param object $ids
diff --git a/core/modules/field/src/Hook/FieldHooks.php b/core/modules/field/src/Hook/FieldHooks.php
index 274482f9ada6..e94e084ea3e3 100644
--- a/core/modules/field/src/Hook/FieldHooks.php
+++ b/core/modules/field/src/Hook/FieldHooks.php
@@ -257,6 +257,10 @@ class FieldHooks {
}
/**
+ * @} End of "defgroup field".
+ */
+
+ /**
* Implements hook_config_import_steps_alter().
*/
#[Hook('config_import_steps_alter')]
diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
index d8496e30e99b..407fdd794a45 100644
--- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
+++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
@@ -192,7 +192,7 @@ class EntityReferenceAdminTest extends BrowserTestBase {
$this->assertSession()->pageTextContains('Multiple content items match this reference;');
$this->assertSession()->pageTextContains($node1->getTitle() . ' (' . $node1->id() . ')');
$this->assertSession()->pageTextContains($node2->getTitle() . ' (' . $node2->id() . ')');
- $this->assertSession()->pageTextContains('Specify the one you want by appending the id in parentheses, like "' . $node2->getTitle() . ' (' . $node2->id() . ')' . '".');
+ $this->assertSession()->pageTextContains('Specify the one you want by appending the id in parentheses, like "' . $node2->getTitle() . ' (' . $node2->id() . ')".');
$edit = [
'title[0][value]' => 'Test',
diff --git a/core/modules/field/tests/src/Kernel/FieldCrudTest.php b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
index 278f8dbc87c3..bf1e0cf5c575 100644
--- a/core/modules/field/tests/src/Kernel/FieldCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
@@ -313,7 +313,7 @@ class FieldCrudTest extends FieldKernelTestBase {
$this->assertCount(0, $fields, 'A deleted field is marked for deletion.');
// Try to load the field normally and make sure it does not show up.
- $field = FieldConfig::load('entity_test.' . '.' . $this->fieldDefinition['bundle'] . '.' . $this->fieldDefinition['field_name']);
+ $field = FieldConfig::load('entity_test.' . $this->fieldDefinition['bundle'] . '.' . $this->fieldDefinition['field_name']);
$this->assertTrue(empty($field), 'Field was deleted');
// Make sure the other field is not deleted.
diff --git a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
index f845abeba457..849dd2402125 100644
--- a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
@@ -357,7 +357,7 @@ class FieldStorageCrudTest extends FieldKernelTestBase {
$this->assertEmpty($field_storage, 'Field storage was deleted');
// Try to load the field normally and make sure it does not show up.
- $field = FieldConfig::load('entity_test.' . '.' . $field_definition['bundle'] . '.' . $field_definition['field_name']);
+ $field = FieldConfig::load('entity_test.' . $field_definition['bundle'] . '.' . $field_definition['field_name']);
$this->assertEmpty($field, 'Field was deleted');
// Make sure the other field and its storage are not deleted.
diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php
index ca81ab17602b..20ea2c954b2c 100644
--- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php
+++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php
@@ -13,6 +13,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
* Tests migration of field label and description translations.
*
* @group migrate_drupal_6
+ * @group #slow
*/
class MigrateFieldInstanceLabelDescriptionTest extends MigrateDrupal6TestBase implements MigrateDumpAlterInterface {