Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2014 at 06:58 UTC
Updated:
6 Oct 2014 at 12:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
geerlingguy commentedAre we going to remove entirely, or just mark as deprecated for the time being? This change will likely break 90+% of the modules currently ported to Drupal 8, so it might be best to give them time to move to YAML before a later beta or maybe even a minor version.
Comment #2
herom commentedMy personal opinion is to remove it entirely. A lot of modules are going to break already, from the FormState changes, the Controller -> Handler renames, or a lot of other changes since alpha14. I'd rather we break the modules for people chasing alphas than those chasing betas.
Comment #3
gábor hojtsyYeah if permissions callbacks is the new way than keeping the hook is probably pointless.
Comment #4
dawehnerTotally but yeah we use the typical workflow of converting everything, marking the origin as deprecated and then remove the origin.
Comment #5
herom commentedThe parent issue got in.
Here's a patch based on dawehner's changes in 2328411#49 that completely removed hook_permission() and all of its mentions.
Comment #6
dawehner>80 chars :(
In general this looks nice!
Comment #7
herom commentedfixed #6.
Comment #8
dawehnerWell, yeah these are really details here.
Comment #9
alexpottThe CR https://www.drupal.org/node/2311427 needs updating.
Committed e1081c6 and pushed to 8.0.x. Thanks!