Problem/Motivation
With Drupal 11.4 we get:
Error: Call to undefined function Drupal\views_entity_form_field\Plugin\views\field\views_ui_build_form_url()
Needs to be turned into
$this->buildFormUrl($form_state),
https://api.drupal.org/api/drupal/core%21modules%21views_ui%21admin.inc/... says it should get removed in Drupal 13. but seems already gone in Drupal 11.4.4?!
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork views_entity_form_field-3611585
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyComment #3
anybodyhttps://git.drupalcode.org/search?search=views_ui_build_form_url&nav_sou... strange it is still there, but seems the file is not loaded any more?
Comment #4
anybodyOk this had already been fixed, just not released. I created a new 1.2 release to fix this!
Comment #6
anybodyOkay this goes into a different direction now.
The check for
function_exists('views_ui_build_form_url')does not work any more. Result is:This needs to be replaced by
I'll create a new 2.x branch for ^11
Comment #7
anybodyComment #13
anybodySorry merged to 2.x accidentally. Reverted. Here's the new MR with all changes: https://git.drupalcode.org/project/views_entity_form_field/-/merge_reque...
Comment #14
grevil commentedComment #16
anybodyMerged into 2.x and released 2.0.0-alpha1 with this fix and cleanup!