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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

balazswmann’s picture

Status: Active » Needs review
FileSize
427 bytes

I have attached a patch for the feature mentioned in the issue description.

balazswmann’s picture

Assigned: balazswmann » Unassigned
greggles’s picture

Status: Needs review » Closed (duplicate)

Thanks 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".