Skip to content
Snippets Groups Projects

Add support for route aliases.

1 unresolved thread

Closes #3159210

Merge request reports

Approval is optional
Code Quality is loading
Test summary results are being parsed

Closed by catchcatch 3 months ago (Jan 23, 2025 4:43pm UTC)

Merge details

  • The changes were not merged into 11.x.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Andrei Mateescu added 1615 commits

    added 1615 commits

    Compare with previous version

  • added 1 commit

    • 291c8b3c - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • 08290b03 - Update the upgrade function name.

    Compare with previous version

  • Andrei Mateescu resolved all threads

    resolved all threads

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Nikolay Shapovalov
  • added 1 commit

    • 114423b9 - Fix test coverage and deprecate an old BcRoute class.

    Compare with previous version

  • Andrei Mateescu added 53 commits

    added 53 commits

    Compare with previous version

  • Andrei Mateescu marked this merge request as ready

    marked this merge request as ready

  • added 1 commit

    Compare with previous version

  • Adam Bramley added 117 commits

    added 117 commits

    Compare with previous version

  • Adam Bramley added 1 commit

    added 1 commit

    Compare with previous version

  • Adam Bramley added 1 commit

    added 1 commit

    Compare with previous version

  • Adam Bramley added 1 commit

    added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Adam Bramley added 1 commit

    added 1 commit

    Compare with previous version

  • added 1 commit

    • 42d7b577 - use addIndex() as mysql fails to add field with index

    Compare with previous version

  • Andrei Mateescu added 3 commits

    added 3 commits

    • 17b0403e - 1 commit from branch project:11.x
    • bd539d1a - Merge branch '11.x' into 3159210-support-route-aliasing
    • cd7b3d46 - Update the return type for the new method.

    Compare with previous version

  • Andrei Mateescu resolved all threads

    resolved all threads

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 567425e1 - fix interface implementations

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • baa25ae2 - Make both mysql and sqlite happy.

    Compare with previous version

  • 1766 */
    1767 function system_update_11201(): void {
    1768 $schema = \Drupal::database()->schema();
    1769
    1770 if ($schema->tableExists('router') && !$schema->fieldExists('router', 'alias')) {
    1771 $spec = [
    1772 'fields' => [
    1773 'alias' => [
    1774 'description' => 'The alias of the route, if applicable.',
    1775 'type' => 'varchar_ascii',
    1776 'length' => 255,
    1777 ],
    1778 ],
    1779 ];
    1780 $schema->addField('router', 'alias', $spec['fields']['alias']);
    1781 $schema->addIndex('router', 'alias', ['alias'], $spec);
  • added 1 commit

    • 30c35a13 - update fixture for the real schema from core/lib/Drupal/Core/Routing/MatcherDumper.php

    Compare with previous version

  • added 1 commit

    • eea37702 - add field and index the same time

    Compare with previous version

  • added 1 commit

    • e43c54f0 - Revert "add field and index the same time"

    Compare with previous version

  • daffie
  • Andrei Mateescu added 40 commits

    added 40 commits

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading