diff --git a/core/modules/views/lib/Drupal/views/Entity/View.php b/core/modules/views/lib/Drupal/views/Entity/View.php index 097059a..e9f9365 100644 --- a/core/modules/views/lib/Drupal/views/Entity/View.php +++ b/core/modules/views/lib/Drupal/views/Entity/View.php @@ -282,7 +282,7 @@ public function calculateDependencies() { } $handler_types = array(); - foreach (ViewExecutable::viewsHandlerTypes() as $type) { + foreach (ViewExecutable::getHandlerTypes() as $type) { $handler_types[] = $type['plural']; } foreach ($this->get('display') as $display) { diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php index 4f9b6a4..694d552 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php @@ -394,7 +394,7 @@ protected function getProtectedProperty($instance, $property) { /** * Tests ViewExecutable::getHandlerTypes(). */ - public function testViewsHandlerTypes() { + public function testGetHandlerTypes() { $types = ViewExecutable::getHandlerTypes(); foreach (array('field', 'filter', 'argument', 'sort', 'header', 'footer', 'empty') as $type) { $this->assertTrue(isset($types[$type]));