This issue provides an overview of the Drupal 8 version of FlexSlider and the release schedule.
The D8 version is a straight port of the D7 version and retains nearly all of the functionality.
What Changed?
-
FlexSlider module API
The API in D7 uses drupal_add_js() and drupal_add_css() to include assets. These functions are
removed in D8. Now the flexslider_add() function returns an array containing the necessary FlexSlider assets, that can be used in '#attached' key of any render array. -
Option Set Configuration
The D7 version used CTools to manage option sets. The D8 version uses the new Configuration
Management Initiative (CMI). Most of the CTools functionality has been moved into CMI so not much has changed in the UI except export which is now done from admin >> config >> development >> configuration. Also, since an option set is necessary for the proper functioning of FlexSlider, the default option set cannot be deleted. -
Fields
FlexSlider Fields only supports multi-value Image fields. The D7 version also supports media fields. In D8, the media module is undergoing re-architecture into individual components. Perhaps later versions of FlexSlider can support the new media entity, but it is not supported in the initial port.
-
Examples
The FlexSlider Examples module is now using Views instead of Context and Block. FlexSlider examples menu is in the toolbar. The examples work out-of-box and all of the module configuration is destroyed when the module is uninstalled.
What's New?
Responsive Formatter
The FlexSlider Fields module now has a responsive image formatter that extends the core Responsive Image module's formatter and adds FlexSlider settings. This formatter is only available when Responsive Image is enabled.
Dependencies
-
FlexSlider jQuery library version 2.5+
Use version 2.6+ for alt attribute on thumbnails.
-
Libraries API (OPTIONAL)
With Drupal 8.9 comes a library service that allows for detecting where the FlexSlider library is installed. Thus making Library API unnecessary for this module. However, if you’re on Drupal 8.8 or less AND you have placed the library in a nonstandard location then Library API is necessary.
-
Responsive Image (OPTIONAL)
The core Responsive Image module is only required to use the responsive image formatter.
Release Schedule (TENTATIVE -- again)
- Beta Phase: current
- RC Phase: Jun 2020 - Sep 2020
Release: Sep 2020Released 8/8/2020
Comments
Comment #2
amaria CreditAttribution: amaria commentedComment #3
amaria CreditAttribution: amaria commentedComment #4
amaria CreditAttribution: amaria commentedComment #5
amaria CreditAttribution: amaria commentedComment #6
amaria CreditAttribution: amaria commented