Skip to content

PW3 compatibility with new PagesType constructor #45

@BitPoet

Description

@BitPoet

The constructor for PagesType takes the current ProcessWire instance as additional first argument in PW3. Thus, the init method of UserGroupsHooks needs to be changed to
$groups = new PagesType($this->wire, $template, $parent->id);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions