public function IpAnonSettings::getTableDescription in IP Anonymize 8
Returns table description.
1 call to IpAnonSettings::getTableDescription()
- IpAnonSettings::buildForm in src/
Form/ IpAnonSettings.php - Form constructor.
File
- src/
Form/ IpAnonSettings.php, line 158
Class
- IpAnonSettings
- Settings form for ip_anon module.
Namespace
Drupal\ip_anon\FormCode
public function getTableDescription($table) {
if ($table == 'sessions') {
return drupal_get_module_schema('system', 'sessions')['description'];
}
elseif (method_exists($this->connection
->schema(), 'getComment')) {
return $this->connection
->schema()
->getComment($table);
}
}