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.
Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables
File /core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php
Line 355: Unused local variable $module_handler
Line 397: Unused local variable $module_handler
Comment | File | Size | Author |
---|---|---|---|
#2 | 2056827-module-handler-field-instance.patch | 1.07 KB | jan.stoeckler |
Comments
Comment #1
longwave#2056825: Remove Unused local variable $module_handler from /core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php
Comment #2
jan.stoecklerHope this won't break anything.
Comment #3
tstoecklerSo the other one was in fact closed as a duplicate of this one.
Patch looks great, thanks!
Comment #4
alexpottCommitted 299682e and pushed to 8.x. Thanks!