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.
I think it would be nice to allow modules to modify the output of login_history_output()
. The module's current version doesn't give any opportunities for developers about this. This feature would be useful when for example someone would like to remove an unnecessary column form a table formatted output, or would like to override the "User Agent" column's text with a more user friendly one and so on.
Comment | File | Size | Author |
---|---|---|---|
#1 | login_history-allow-to-modifiy-login_history_outputs-output-2417691-1.patch | 427 bytes | balazswmann |
Comments
Comment #1
balazswmann CreditAttribution: balazswmann commentedI have attached a patch for the feature mentioned in the issue description.
Comment #2
balazswmann CreditAttribution: balazswmann commentedComment #3
gregglesThanks for the idea. This is now more possible with #1402266: Login History Views integration so marking this as a duplicate of that.
I think another solution is the more broadly useful "hook_menu_alter".