Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#2921423 by RajabNatshah: Error on update TypeError: Argument 1 passed to Insert::fields() must be of the type array, null given, called in viewsreference.install on line 71
The 2.x branch enables a data property used to store any settings associated with a view, such as show/hide pager or number of results shown. It uses a Plugin Manager to add settings to the views reference fields and enables site builders to hide provided settings for each field instance. The branch itself comes with some settings and developers can add more through custom plugins.
Apply Details form type to title and argument options to prepare for advanced options module
Run codesniffer on code
Fixes to views plugin filter: https://www.drupal.org/node/2857697
Add error message for when no plugin available in a view
Add Empty validation on display_id value
As a result of discussion it was decided to release Views settings as plugins in a 2.x branch: https://www.drupal.org/node/2888275
This represents a considerable change from the 1.x method.
Module originally released as Views Reference but because of a spelling error in the shortname, has been re-released with a corrected shortname.
Notes for this release:
Add weight to display_id field
Remove preconfigured options that attaches views reference behaviour to entity types
Change widget name to viewsreference_autocomplete