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 f462b57..72ba5c8 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 @@ -24,7 +24,7 @@ class DblogOperations extends FieldPluginBase { /** * {@inheritdoc} */ - function click_sortable() { + function clickSortable() { return FALSE; } diff --git a/core/modules/dblog/lib/Drupal/dblog/Tests/Views/ViewsIntegrationTest.php b/core/modules/dblog/lib/Drupal/dblog/Tests/Views/ViewsIntegrationTest.php index 8fa1496..8911b86 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Tests/Views/ViewsIntegrationTest.php +++ b/core/modules/dblog/lib/Drupal/dblog/Tests/Views/ViewsIntegrationTest.php @@ -90,8 +90,8 @@ public function testIntegration() { $view->initStyle(); foreach ($entries as $index => $entry) { - $this->assertEqual($view->style_plugin->get_field($index, 'message'), format_string($entry['message'], $entry['variables'])); - $this->assertEqual($view->style_plugin->get_field($index, 'link'), filter_xss_admin($entry['link'])); + $this->assertEqual($view->style_plugin->getField($index, 'message'), format_string($entry['message'], $entry['variables'])); + $this->assertEqual($view->style_plugin->getField($index, 'link'), filter_xss_admin($entry['link'])); } // Disable replacing variables and check that the tokens aren't replaced. @@ -101,7 +101,7 @@ public function testIntegration() { $view->initStyle(); $view->field['message']->options['replace_variables'] = FALSE; foreach ($entries as $index => $entry) { - $this->assertEqual($view->style_plugin->get_field($index, 'message'), $entry['message']); + $this->assertEqual($view->style_plugin->getField($index, 'message'), $entry['message']); } }