We are going to create a new module for our introduction to plugins for Views. And we will contribute it to Drupal in the next topic.
/modules/customfolder in our d8dev project.
views_semantic_tabs—the name of our new module.
views_semantic_tabs.info.ymland enter the following information:
name: Views semantic tabs type: module description: Provides a views style plugin to display views results in jQuery UI Tabs. core: 8.x package: Views dependencies: - views
In Drupal 7, we use the
hook_views_plugins() hook function to register new plugins. Drupal 8, on the other hand, depends on annotations and ...