Remove usage of drupal_set_title() in all tests and documentation, meaning:
Already being handled by #1987694: Convert entity_test callbacks to a new style controllercore/modules/system/tests/modules/entity_test/entity_test.modulecore/modules/system/lib/Drupal/system/Tests/System/PageTitleTest.php(except testTitleTags(), which should be removed with the functions themselves).core/lib/Drupal/Core/Page/DefaultHtmlFragmentRenderer.php(a comment)Moved to #2192649: Remove drupal_set_title() from installation and update process Assigned to: sun since it's documentation of hook_install_tasks.core/modules/system/system.api.php
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2192645-removed-drupal-set-title-5.patch | 2.14 KB | sandipmkhairnar |
Comments
Comment #1
ianthomas_ukRemoved core/modules/system/system.api.php as it's installation related, so better suited to #2192649: Remove drupal_set_title() from installation and update process
Comment #2
ianthomas_ukComment #3
ianthomas_ukentity_test.module is being handled by #1987694: Convert entity_test callbacks to a new style controller
Comment #4
ianthomas_ukComment #5
sandipmkhairnar commentedFirst drafted patch.
Comment #6
wim leersWhy would you remove this comment? It's still relevant & useful.
I'm afraid these changes are completely nonsensical.
You're no longer testing what the results of a function call are, you're simply checking what the values of a few variables is.
Comment #7
ianthomas_ukEverything here is covered by other issues, including the new issue #2209595: Remove drupal_set_title(), drupal_get_title() and associated tests