"gitlab-ci/template.gitlab-ci.ymlThis" did not exist on "1.0.x"
Draft: Issue #3257767 Enable preselected views feature on autocomplete widget.
1 unresolved thread
1 unresolved thread
Closes #3257767
Merge request reports
Activity
286 287 } 288 289 /** 290 * Move preselected view field settings to field widget settings. 291 */ 292 function viewsreference_update_8104(&$sandbox) { 293 // Initialize the sandbox. 294 if (!isset($sandbox['fields'])) { 295 // Load all fields of type 'viewsreference'. 296 $fields = \Drupal::service('entity_field.manager')->getFieldMapByFieldType('viewsreference'); 297 $sandbox['fields'] = []; 298 foreach ($fields as $entity_type => $field_definitions) { 299 foreach ($field_definitions as $field_name => $field_info) { 300 $sandbox['fields'][] = [ 301 'entity_type' => $entity_type, 302 'bundle' => $field_info['bundle'],
Please register or sign in to reply