Remove EntityBrowser::getOption

Created on 28 March 2019, over 6 years ago
Updated 19 August 2025, about 1 month ago

The method EntityBrowser::getOption() is no longer needed. It was added to fix a regression where ajaxEnabled() which should have been used to determine if a view display should use ajax stopped working, now that the core issue is fixed, we can remove the method.

In this method in Drupal\entity_browser\Plugin\views\display\EntityBrowser:

// @todo remove upon resolution of https://www.drupal.org/node/2904798 β†’
// This overrides getOption() instead of ajaxEnabled() because
// \Drupal\views\Controller\ViewAjaxController::ajaxView() currently calls
// that directly.

πŸ“Œ Task
Status

Needs work

Version

2.0

Component

Selection display plugins

Created by

πŸ‡ΊπŸ‡ΈUnited States oknate Greater New York City Area

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024