Skip to content
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

API Use new class_description configuration #1272

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Nov 11, 2024

Needs silverstripe/silverstripe-framework#11461 for CI to go green - please merge that PR first.

Uses new configuration and method added in silverstripe/silverstripe-framework#11461

Issue

return _t(__CLASS__ . '.Description', $description);
}
return '';
Deprecation::notice('5.3.0', 'Use i18n_classDescription() instead.');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was deprecated in 5.3.0 so keeping that version there, though the advice is now different.

@emteknetnz emteknetnz merged commit d3cbca7 into silverstripe:5 Nov 14, 2024
18 of 25 checks passed
@emteknetnz emteknetnz deleted the pulls/5/class-description branch November 14, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants