Many modules will either use the above or similar patterns when needing to display a form at a specific URL.However, in Drupal 8, hook_menu and many other hooks have been removed.If you are unfamiliar with object-oriented programming (OOP), you will need to get acquainted with it if you'd like to write or contribute code to the Drupal platform.However the rewritten Drupal core consisting of Symfony components provides easy-to-use interfaces, plugins, services, classes, and objects for extending Drupal.
Create a link pointing to a item with a page callback, take parameter(s) from the URL, load the node object; 3.It just means the approach for doing so has changed.For long-time Drupalers the changes may feel alien but with some practice and understanding you'll see why the paradigm shift in Drupal 8 is an important one for moving forward.Drupal 8, however, has cast most of this initial core aside in favor of leveraging Symfony components as a foundation.While there have been numerous changes and your favorite functions or tools might have been updated or removed, this guide series should provide a breakdown of popular functions within the new release.