I don't quite understand how the 'Expanded class hierarchy' link is meant to work.

Should it be showing all the classes that I can get to in the hierarchy? It's showing a sibling of the current class, but not their descendants. Am I misunderstanding what it's meant to be doing, or is there a bug here?

^^ That IS a local image! :/

CommentFileSizeAuthor
API Expanded class hierarchy.png102.6 KBjoachim
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Issue summary: View changes
joachim’s picture

Issue summary: View changes
jhodgdon’s picture

Status: Active » Fixed

(I don't think files with spaces in the name work with the local image filter. I personally don't think that's a major bug. Spaces in file names are not a good idea anyway.)

Anyway, you asked about the class hierarchy. Here's your explanation:

The Class Hierarchy shown on the Class page shows the direct ancestors of the given class.

The "expanded" hierarchy shows the direct ancestors, plus siblings of all ancestors, plus the first-level children.

joachim’s picture

Ok thanks.

Could it be extended to show all the descendants?

jhodgdon’s picture

It could, but for some classes (TestBase?) that would be huge, which is why it is behaving how it currently behaves.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.