Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.x-beta13
Description: 

ViewExecutable::getMenuLinks has been removed. This was dependent on the display, and should not be the responsibility of the executable class itself.

There is now a new Drupal\views\Plugin\views\display\DisplayMenuInterface which is implemented in \Drupal\views\Plugin\views\display\PathPluginBase to achieve the same.

This interface can now be checked for instead, E.g.:

if (($display instanceof DisplayMenuInterface) && ($result = $display->getMenuLinks())) {
  // ...
}
Impacts: 
Module developers
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