Skip to content

Automatically set BackendMenu context from controller path #1269

@LukeTowers

Description

@LukeTowers

It would be nice if the base Backend\Classes\Controller class set BackendMenu::setContext($author.$plugin, $plugin, $controller) in the constructor so that backend controller classes didn't have to explicitly call set context if their navigation followed the standard.

Also adjust the scaffolding to reflect that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions