Skip to content
Snippets Groups Projects

Resolve #3521766 "Output the url"

Closes #3521766

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
46 deprecatedCallable: fn() => $renderer->renderPlain($render),
47 );
25 return (string) $renderer->renderRoot($build);
48 26 }
49 27
50 28 /**
51 * Helper to trim strings. Removes line-endings.
52 *
53 * @param string $string
54 * String to trim.
55 *
56 * @return string
57 * Trimmed sting.
29 * Asserts that two markup strings are equal.
58 30 */
59 protected function trim($string) {
  • added 1 commit

    Compare with previous version

  • 200 $this->assertContains('Relative URL', $summary);
    201
    202 // Absolute URL summary.
    203 $formatter->setConfiguration([
    204 'absolute' => TRUE,
    205 ]);
    206 $summary = array_map('strval', $formatter->settingsSummary());
    207 $this->assertContains('Absolute URL', $summary);
    208 }
    209
    210 /**
    211 * Tests that a URL is generated correctly for a translated node.
    212 */
    213 public function testPathWithTranslation() {
    214 // Set the path prefix for German.
    215 $config = \Drupal::configFactory()->getEditable('language.negotiation');
  • looks good

  • Lio Novelli approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading