Follow-up from #2035055: Introduce hook_theme_prepare[_alter]() and remove hook_preprocess_HOOK().

Lots of discussions around this, will update summary later

Comments

markhalliwell’s picture

Priority: Critical » Normal
Status: Active » Postponed

bumping down for now and postponing

c4rl’s picture

Prior to this present issue, some relevant discussion/code happened here https://gist.github.com/markcarver/6125045

lauriii’s picture

Version: 8.0.x-dev » 8.1.x-dev
Issue summary: View changes
Issue tags: +Needs issue summary update
lauriii’s picture

Assigned: markhalliwell » Unassigned

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

joelpittet’s picture

Status: Postponed » Active

This could be added, but I think efforts to unify hook_theme() and RenderElement API before this. Reopening to see where this will go or any more thoughts on the matter or close?

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

markhalliwell’s picture

Status: Active » Closed (duplicate)

Considering that this never went anywhere and #2511548: Add a "context" array variable to all theme hooks and "#context" array property to all elements to provide optional contextual data was later created and contains patches, I'm just going to close this in favor of that issue.