Extending class

Created on 10 August 2022, over 2 years ago
Updated 8 May 2023, over 1 year ago

Problem/Motivation

Extended HierarchicalTaxonomyMenuBlock cannot access private methods.

Steps to reproduce

  1. Create a custom module
  2. Extend \src\Plugin\Block\HierarchicalTaxonomyMenuBlock.php
  3. Call any private method from parent

Proposed resolution

Make private methods public/protected

🐛 Bug report
Status

Fixed

Version

1.42

Component

Code

Created by

🇭🇺Hungary Botond

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024