Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / dblog / dblog.views.inc
index 20ad9ceb290c301833aca567810a0f7934ecd24a..6ad9e68ce41761b139b4f4fb86e36427c87046bb 100644 (file)
@@ -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',