Skip to content

Commit

Permalink
Code clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegl committed Jan 31, 2025
1 parent 0ffaf83 commit cc73c78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function storageSettingsForm(array &$form, FormStateInterface $form_state
];

// @todo Change this to dependency injection when this issue is resolved.
// https://www.drupal.org/node/2053415
// https://www.drupal.org/node/2053415
/** @var \Drupal\Core\Entity\EntityDisplayRepository $display_repo */
$display_repo = \Drupal::service('entity_display.repository');
$view_modes = $display_repo->getViewModeOptionsByBundle($this->getEntity()
Expand Down

0 comments on commit cc73c78

Please sign in to comment.