Issue #2081167 by smiro: Remove Unused local variable from /core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockStorageController.php.
parent
72e7cb95c3
commit
b2ab427bb2
|
@ -25,7 +25,7 @@ class CustomBlockStorageController extends FieldableDatabaseStorageController {
|
|||
// Create an array of block types for passing as a load argument.
|
||||
// Note that blocks at this point are still \StdClass objects returned from
|
||||
// the database.
|
||||
foreach ($blocks as $id => $entity) {
|
||||
foreach ($blocks as $entity) {
|
||||
$types[$entity->type] = $entity->type;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue