Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Relevant change notice: https://www.drupal.org/node/2067859
drupal_set_title() was removed in D8. Diff calls it on its entity settings page, resulting in a fatal error.
This is quite a common function, so listing as major. However, it should be "Fun." :P
Comments
Comment #1
webchickActually, is it possible with Pharborist to just comment out the entire damn line when a drupal_set_title() is involved? Reading the change notice, I literally don't see any way we could possibly auto-generate code for it. The resulting code completely depends on the context the function's being used in.
Comment #2
phenaproximaI have asked grom358 to implement the ability to comment out a line, and marked it as high priority. So for now, this awaits an upstream fix there.
Comment #3
webchickSounds like this functionality's in Pharborist now, so tagging as an issue to focus on prior to demo.
Comment #4
phenaproximaAs of commit a38af13, any line containing drupal_set_title() is unconditionally commented out. Still need to leave a FIXME notice, though.
Comment #5
webchickConfirmed. :) Now it's whining about module_invoke_all() instead. :D
Comment #6
webchickThis is now done + a fix me comment so calling this good enough for now. :)