Problem/Motivation
The following two statements are unnecessary in BlockContentTypeForm.php. Since they aren't being used in the code, they should be removed.
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;Proposed resolution
Remove the two statements.
Remaining tasks
- Remove use statements
- Complete issue summary
- Add beta eval
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | unused_use_statements-2552219-3.patch | 565 bytes | screon |
Comments
Comment #2
dawehner.
Comment #3
screon commentedThese were indeed unused in the file. Here's a patch that removes them.
Comment #4
screon commentedComment #5
screon commentedComment #8
stefan.r commentedThis is green and there are no further unused use statements in that file, so RTBC!
Comment #9
dawehner+1
Comment #10
alexpottThis tidy up has been postponed till the RC stage where we're going to automated one big clean up. However considering this is @screon's first patch I'm going to commit, but this is not a license to file an issue per file with missing use statements. Committed 15366a6 and pushed to 8.0.x. Thanks!
Comment #12
screon commentedThank you for your flexibility!