Change record status: 
Project: 
Introduced in branch: 
8.x
Introduced in version: 
8.x
Description: 

The function views_get_views_as_options(), which was formerly in the views.module file, has been removed.

This has been replaced by a static method, so the new usage is Views::getViewsAsOptions().

Example usage
Before call to the function.

$views = views_get_views_as_options();

Now

$views = Views::getViewsAsOptions();
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done