You are here

function ip_anon_columns in IP Anonymize 8

Same name and namespace in other branches
  1. 7 ip_anon.inc \ip_anon_columns()

Default array of hostname and timestamp columns.

2 calls to ip_anon_columns()
dblog_ip_anon_alter in ./ip_anon.inc
Implements hook_ip_anon_alter() for dblog module.
ip_anon_tables in ./ip_anon.inc
Array of tables and columns which store hostnames and timestamps.

File

./ip_anon.inc, line 26
Page callbacks and utility functions for IP Anonymize module.

Code

function ip_anon_columns() {
  $columns = [
    'hostname',
    'timestamp',
  ];
  return array_combine($columns, $columns);
}