Skip to content

hookable LanguageSupportPageNames::getPagePath() #94

Description

@kixe

Short description of the enhancement

hookable LanguageSupportPageNames::getPagePath()

Current vs. suggested behavior

Currently LanguageSupportPageNames::getPagePath() is not hookable whereas Page::path() is.

Why would the enhancement be useful to users?

I am currently working on a complete rewrite of the Multisite module (single database).
https://github.com/kixe/Multisite/tree/kixe
https://processwire.com/talk/topic/1025-multisite/?page=10#comment-144509
To modify the page pathes I decided to hook in Page::path() instead of modifying the output of Page::render(). The module works already quite stable, but needs to have LanguageSupportPageNames::getPagePath() hookable for full language support.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions