- Issue created by @dan3h
- Merge request !20Issue #3499530 by dan3h: Do not rely on Title field's widget to populate pop-up title-bar. → (Merged) created by dan3h
- 🇨🇦Canada dan3h
Line 213 is this:
$entity_title = $ief_form['title']['widget'][0]['value']['#default_value'];
Inspecting that, I found that that
$ief_form['title']['widget']
contains[ 0 => null ]
.$ief_form['#default_value']
is set to the Node that is being edited. As such, line 213 can be changed to:
$entity_title = $ief_form['#default_value']->get('title')->value;
This is in the 'edit' action. The 'duplicate' action looks to be handled identically, and so I've included the same fix for that.
Automatically closed - issue fixed for 2 weeks with no activity.