Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
14 Oct 2012 at 20:57 UTC
Updated:
29 Jul 2014 at 21:21 UTC
Jump to comment: Most recent
Comments
Comment #1
tstoecklerLooks good. Grepping for 'clicked_button' yields a couple more results, but none are actually using $form_state['clicked_button']. An example from file.module:
$clicked_button = end($form_state['triggering_element']['#parents']);Whether we want to "clean that up" or not (I'm not entirely sure that it's actually incorrect) I think can be a follow-up.
Guess, this needs a change notification, even if it was deprecated in D7.
Comment #2
sunyeah, there are remaining instances of the string "clicked_button" in file.module and also Form API tests, but those are fine, as long as no code is using $form_state['clicked_button'].
Comment #3
catchYep. Committed/pushed to 8.x.
Wonder how many @deprecated are left at the moment.
Comment #4
sunCreated #1813760: [meta] Clean up @todos and deprecated code
Comment #5
tstoecklerAdded a change notice.