Remove depreciated methods and unused imports in code base.

CommentFileSizeAuthor
#2 2663242-2.patch2.58 KBheykarthikwithu

Comments

heykarthikwithu created an issue. See original summary.

heykarthikwithu’s picture

Assigned: heykarthikwithu » Unassigned
Status: Active » Needs review
StatusFileSize
new2.58 KB

1. replaced entity_create with \Drupal::entityTypeManager()->getStorage('menu')->create($values).
2. replaced depreciated EntityManagerInterface with EntityTypeManagerInterface

vpeltot’s picture

Status: Needs review » Closed (fixed)

Thanks a lot!
Patch committed.