public function ViewsConfigUpdater::needsSortFieldIdentifierUpdate in Drupal 9
Updates the sort handlers by adding default sort field identifiers.
Parameters
\Drupal\views\ViewEntityInterface $view: The View to update.
Return value
bool Whether the view was updated.
File
- core/
modules/ views/ src/ ViewsConfigUpdater.php, line 492
Class
- ViewsConfigUpdater
- Provides a BC layer for modules providing old configurations.
Namespace
Drupal\viewsCode
public function needsSortFieldIdentifierUpdate(ViewEntityInterface $view) : bool {
return $this
->processDisplayHandlers($view, TRUE, function (array &$handler, string $handler_type) : bool {
return $this
->processSortFieldIdentifierUpdateHandler($handler, $handler_type);
});
}