function ViewsTestConfigHooks::viewsPluginsSortAlter

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php \Drupal\views_test_config\Hook\ViewsTestConfigHooks::viewsPluginsSortAlter()

Implements hook_views_plugins_sort_alter().

Attributes

#[Hook('views_plugins_sort_alter')]

File

core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php, line 87

Class

ViewsTestConfigHooks
Hook implementations for views_test_config.

Namespace

Drupal\views_test_config\Hook

Code

public function viewsPluginsSortAlter(array &$definitions) : void {
  $this->disableBrokenHandler($definitions, 'sort');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.