diff --git a/core/modules/dblog/dblog.views.inc b/core/modules/dblog/dblog.views.inc index d56c636..2198783 100644 --- a/core/modules/dblog/dblog.views.inc +++ b/core/modules/dblog/dblog.views.inc @@ -4,7 +4,7 @@ * @file * Provide views data for dblog.module. * - * @ingroup views_module_ids + * @ingroup views_module_handlers */ /** @@ -18,7 +18,7 @@ function dblog_views_data() { $data['watchdog']['table']['base'] = array( 'field' => 'wid', - 'title' => t('Watchdog events'), + 'title' => t('Log entries'), 'help' => t('Contains a list of log entries.'), ); diff --git a/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogMessage.php b/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogMessage.php index 80a6a0f..c82b457 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogMessage.php +++ b/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogMessage.php @@ -10,6 +10,7 @@ use Drupal\Component\Utility\String; use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\Component\Annotation\PluginID; +use Drupal\views\ResultRow; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; @@ -59,7 +60,7 @@ public function buildOptionsForm(&$form, &$form_state) { /** * {@inheritdoc} */ - public function render($values) { + public function render(ResultRow $values) { $value = $this->getValue($values); if ($this->options['replace_variables']) { diff --git a/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogOperations.php b/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogOperations.php index ae90053..afb2aef 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogOperations.php +++ b/core/modules/dblog/lib/Drupal/dblog/Plugin/views/field/DblogOperations.php @@ -9,6 +9,7 @@ use Drupal\views\Plugin\views\field\FieldPluginBase; use Drupal\Component\Annotation\PluginID; +use Drupal\views\ResultRow; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\DisplayPluginBase; @@ -31,7 +32,7 @@ public function clickSortable() { /** * {@inheritdoc} */ - public function render($values) { + public function render(ResultRow $values) { $value = $this->getValue($values); return $this->sanitizeValue($value, 'xss_admin'); } diff --git a/core/modules/dblog/lib/Drupal/dblog/Plugin/views/wizard/Watchdog.php b/core/modules/dblog/lib/Drupal/dblog/Plugin/views/wizard/Watchdog.php index b443d85..398b6a2 100755 --- a/core/modules/dblog/lib/Drupal/dblog/Plugin/views/wizard/Watchdog.php +++ b/core/modules/dblog/lib/Drupal/dblog/Plugin/views/wizard/Watchdog.php @@ -18,7 +18,7 @@ * id = "watchdog", * module = "dblog", * base_table = "watchdog", - * title = @Translation("Watchdog entries") + * title = @Translation("Log entries") * ) */ class Watchdog extends WizardPluginBase {