Make all links relative
Now the abs_to_rel module is enabled, links can be made relative so they work on the current environment.
This commit is contained in:
parent
0d359f81d6
commit
7a7dc297ca
349 changed files with 698 additions and 698 deletions
|
@ -82,9 +82,9 @@
|
|||
],
|
||||
"body": [
|
||||
{
|
||||
"value": "\n <p>As Drupal 11 uses PHPUnit 10, we can now use the <code>#[Test]<\/code> attribute instead of the <code>\/** @test *\/<\/code> annotation for our test methods.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code class=\"php\">\/\/ Before.\n\n\/** @test *\/\npublic function it_returns_the_endpoint()\n\n\/\/ After.\n\n#[Test]\npublic function it_returns_the_endpoint()\n<\/code><\/pre>\n\n<p><a href=\"https:\/\/www.oliverdavies.uk\/daily\/2024\/04\/04\/php-attributes--coming-soon-to-a-drupal-version-near-you\">Annotations have started to be replaced<\/a> in parts of Drupal since 10.2, so it's nice to be able to do it with tests, too.<\/p>\n\n<p>Which do you prefer?<\/p>\n\n ",
|
||||
"value": "\n <p>As Drupal 11 uses PHPUnit 10, we can now use the <code>#[Test]<\/code> attribute instead of the <code>\/** @test *\/<\/code> annotation for our test methods.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code class=\"php\">\/\/ Before.\n\n\/** @test *\/\npublic function it_returns_the_endpoint()\n\n\/\/ After.\n\n#[Test]\npublic function it_returns_the_endpoint()\n<\/code><\/pre>\n\n<p><a href=\"/daily\/2024\/04\/04\/php-attributes--coming-soon-to-a-drupal-version-near-you\">Annotations have started to be replaced<\/a> in parts of Drupal since 10.2, so it's nice to be able to do it with tests, too.<\/p>\n\n<p>Which do you prefer?<\/p>\n\n ",
|
||||
"format": "full_html",
|
||||
"processed": "\n <p>As Drupal 11 uses PHPUnit 10, we can now use the <code>#[Test]<\/code> attribute instead of the <code>\/** @test *\/<\/code> annotation for our test methods.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code class=\"php\">\/\/ Before.\n\n\/** @test *\/\npublic function it_returns_the_endpoint()\n\n\/\/ After.\n\n#[Test]\npublic function it_returns_the_endpoint()\n<\/code><\/pre>\n\n<p><a href=\"https:\/\/www.oliverdavies.uk\/daily\/2024\/04\/04\/php-attributes--coming-soon-to-a-drupal-version-near-you\">Annotations have started to be replaced<\/a> in parts of Drupal since 10.2, so it's nice to be able to do it with tests, too.<\/p>\n\n<p>Which do you prefer?<\/p>\n\n ",
|
||||
"processed": "\n <p>As Drupal 11 uses PHPUnit 10, we can now use the <code>#[Test]<\/code> attribute instead of the <code>\/** @test *\/<\/code> annotation for our test methods.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code class=\"php\">\/\/ Before.\n\n\/** @test *\/\npublic function it_returns_the_endpoint()\n\n\/\/ After.\n\n#[Test]\npublic function it_returns_the_endpoint()\n<\/code><\/pre>\n\n<p><a href=\"/daily\/2024\/04\/04\/php-attributes--coming-soon-to-a-drupal-version-near-you\">Annotations have started to be replaced<\/a> in parts of Drupal since 10.2, so it's nice to be able to do it with tests, too.<\/p>\n\n<p>Which do you prefer?<\/p>\n\n ",
|
||||
"summary": null
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue