Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Jan 2015 at 21:42 UTC
Updated:
29 Jan 2015 at 11:14 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
kim.pepperComment #2
dashaforbes commentedI have removed the following unused use statements:
use Drupal\Core\Entity\EntityInterface;
use Drupal\file\Entity\File;
use Drupal\Core\Template\Attribute;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
replaced:use Drupal\menu_link\Entity\MenuLink;
with: use Drupal\migrate_drupal\Plugin\migrate\source\d6\MenuLink;
Realised it wasn't used so I removed it too.
Comment #3
jibranComment #4
larowlanYeah we had a MenuLink entity once upon a time, but it became MenuLinkContent so maybe that's what you need
Comment #5
larowlanLooks like unrelated changes - IDE auto-formatting perhaps?
You can use
git fetch origin && git checkout -p origin/8.0.xto selectively discard the bits you didn't mean to change (hit y for the ones you didn't mean, n for the ones you did)Comment #6
dashaforbes commentedchanged to: use Drupal\menu_link_content\Entity\MenuLinkContent; still unused
Removed IDE auto-formatting.
Comment #7
larowlanunless bot disagrees
Comment #8
larowlanComment #9
alexpottThanks this has bugged me for a while. Committed b0faab2 and pushed to 8.0.x. Thanks!