X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fdblog%2Fdblog.views.inc;h=6ad9e68ce41761b139b4f4fb86e36427c87046bb;hb=f3baf763d342a5f82576890e2a8111a5aaf139dc;hp=20ad9ceb290c301833aca567810a0f7934ecd24a;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/dblog/dblog.views.inc b/web/core/modules/dblog/dblog.views.inc index 20ad9ceb2..6ad9e68ce 100644 --- a/web/core/modules/dblog/dblog.views.inc +++ b/web/core/modules/dblog/dblog.views.inc @@ -24,7 +24,7 @@ function dblog_views_data() { 'title' => t('WID'), 'help' => t('Unique watchdog event ID.'), 'field' => [ - 'id' => 'numeric', + 'id' => 'standard', ], 'filter' => [ 'id' => 'numeric', @@ -39,9 +39,9 @@ function dblog_views_data() { $data['watchdog']['uid'] = [ 'title' => t('UID'), - 'help' => t('The user ID of the user on which the log entry was written..'), + 'help' => t('The user ID of the user on which the log entry was written.'), 'field' => [ - 'id' => 'numeric', + 'id' => 'standard', ], 'filter' => [ 'id' => 'numeric', @@ -52,7 +52,7 @@ function dblog_views_data() { 'relationship' => [ 'title' => t('User'), 'help' => t('The user on which the log entry as written.'), - 'base' => 'users', + 'base' => 'users_field_data', 'base field' => 'uid', 'id' => 'standard', ], @@ -68,8 +68,7 @@ function dblog_views_data() { 'id' => 'string', ], 'filter' => [ - 'id' => 'in_operator', - 'options callback' => '_dblog_get_message_types', + 'id' => 'dblog_types', ], 'sort' => [ 'id' => 'standard', @@ -120,7 +119,7 @@ function dblog_views_data() { ], 'filter' => [ 'id' => 'in_operator', - 'options callback' => 'Drupal\dblog\Controller\DbLogController::getLogLevelClassMap', + 'options callback' => 'Drupal\Core\Logger\RfcLogLevel::getLevels', ], 'sort' => [ 'id' => 'standard',