Problem/Motivation
ConfigProviderBase provides two unnecessary methods that wrap Drupal services that should be removed (especially after the dependency injection improvements made in #3457459: GitLabCI: Fix existing PHPCS & PHPStan issues):
ConfigProviderBase::drupalGetPath()ConfigProviderBase::drupalGetProfile()
Steps to reproduce
Proposed resolution
- Deprecate methods ahead of next release/pre-release.
- Remove methods ahead of a future release.
Remaining tasks
User interface changes
API changes
ConfigProviderBase::drupalGetPath()will be deprecated (and later removed).ConfigProviderBase::drupalGetProfile()will be deprecated (and later removed).
Data model changes
Issue fork config_provider-3500568
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
joegraduateComment #4
joegraduateWaiting on #3457459: GitLabCI: Fix existing PHPCS & PHPStan issues.
Comment #5
joegraduateComment #6
joegraduateComment #7
trackleft2Looks good, as long as we remember to include it in the 3.0.0-alpha2 release.
Comment #8
tadeanVerified that implementers of
ConfigProviderBasereceive the expected deprecation warnings:Comment #9
joegraduateComment #11
tadeanThanks @joegraduate !