Loading core/modules/field_ui/src/FieldConfigListBuilder.php +2 −2 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ public function buildRow(EntityInterface $field_config) { 'label' => [ '#type' => 'html_tag', '#tag' => 'span', '#value' => $field_config->getLabel(), '#plain_text' => $field_config->getLabel(), '#attributes' => [ 'class' => ['field-label-text'], ], Loading @@ -195,7 +195,7 @@ public function buildRow(EntityInterface $field_config) { 'machine_name' => [ '#type' => 'html_tag', '#tag' => 'span', '#value' => ' ' . $field_config->getName(), '#plain_text' => ' ' . $field_config->getName(), '#attributes' => [ 'class' => ['field-ui-secondary-text', 'field-machine-name'], ], Loading core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -299,7 +299,7 @@ protected function addPersistentFieldStorage(): void { $this->assertSession()->pageTextContains('Re-use an existing field'); // Ensure that we test with a label that contains HTML. $label = $this->randomMachineName(4) . '<br>' . $this->randomMachineName(4); $label = $this->randomMachineName(4) . '<br/>' . $this->randomMachineName(4); // Add a new field for the orphaned storage. $this->fieldUIAddExistingField("admin/structure/types/manage/page", $this->fieldName, $label); } Loading Loading
core/modules/field_ui/src/FieldConfigListBuilder.php +2 −2 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ public function buildRow(EntityInterface $field_config) { 'label' => [ '#type' => 'html_tag', '#tag' => 'span', '#value' => $field_config->getLabel(), '#plain_text' => $field_config->getLabel(), '#attributes' => [ 'class' => ['field-label-text'], ], Loading @@ -195,7 +195,7 @@ public function buildRow(EntityInterface $field_config) { 'machine_name' => [ '#type' => 'html_tag', '#tag' => 'span', '#value' => ' ' . $field_config->getName(), '#plain_text' => ' ' . $field_config->getName(), '#attributes' => [ 'class' => ['field-ui-secondary-text', 'field-machine-name'], ], Loading
core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -299,7 +299,7 @@ protected function addPersistentFieldStorage(): void { $this->assertSession()->pageTextContains('Re-use an existing field'); // Ensure that we test with a label that contains HTML. $label = $this->randomMachineName(4) . '<br>' . $this->randomMachineName(4); $label = $this->randomMachineName(4) . '<br/>' . $this->randomMachineName(4); // Add a new field for the orphaned storage. $this->fieldUIAddExistingField("admin/structure/types/manage/page", $this->fieldName, $label); } Loading