function ip_anon_tables in IP Anonymize 8
Same name and namespace in other branches
- 5 ip_anon.module \ip_anon_tables()
- 6 ip_anon.pages.inc \ip_anon_tables()
- 7 ip_anon.inc \ip_anon_tables()
Array of tables and columns which store hostnames and timestamps.
Modules may add tables by implementing hook_ip_anon_alter().
2 calls to ip_anon_tables()
- IpAnonSettings::buildForm in src/
Form/ IpAnonSettings.php - Form constructor.
- ip_anon_scrub in ./
ip_anon.inc - Anonymize IP addresses which have exceeded the retention period.
File
- ./
ip_anon.inc, line 36 - Page callbacks and utility functions for IP Anonymize module.
Code
function ip_anon_tables() {
$tables = [
'sessions' => ip_anon_columns(),
];
\Drupal::moduleHandler()
->alter('ip_anon', $tables);
return $tables;
}