Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Grep the module for 'Drupal\
, notice there are 4 hits. Those strings containing FQCNs make it easy to break code during refactoring.
Proposed resolution
Replace them with use
and Someting::class
.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2925302-2.patch | 3.1 KB | Wim Leers |
Comments
Comment #2
Wim LeersComment #4
Wim Leers