-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SiteTree::$hide_pagetypes configuration property #1805
Comments
This is essentially a tweak of hide_ancestor, so it should be a simple rename / refactor. |
|
Yeah I think we can ditch hide_ancestor favour of this mechanism. |
Removing from milestone, it's a new API. The old (replaced) API can be deprecated instead of removed once we get around to that in the 4.x release line. |
As of SS4.1@stable, there's no depreciation notice on As much as I believe |
Don't worry, if we deprecate it, it will still work perfectly fine until 5.0 at least. Deprecation notices won't show on deprecated APIs unless you opt in by the way.
|
Solution was implemented. Issue is closed. |
Acceptance criteria
$hide_pagetype
config value which accepts SiteTree subclass class names in an array$hide_ancestor
is deprecatedSiteTree
via yaml config - defining it on subclasses has no effectPRs
The text was updated successfully, but these errors were encountered: