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.
By Gábor Hojtsy on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.1.x
Introduced in version:
8.1.0
Issue links:
Description:
\Drupal\views\Plugin\views\filter\InOperator::getValueOptions() returns the stored value options and suggested children return the value options as well "if someone expects it". This resulted in confusing scenarios, because although this is a public method, its return value cannot be relied on. It may or may not have been the value options. Instead of this "suggestion", the return value expectation of InOperator children was changed to always return the stored value options.
Impacts:
Module developers