Browse Source

Update 'src/Controller/MetadataProfileController.php'

Added default NULL value
main
astanley 4 weeks ago
parent
commit
5ed4f112c3
  1. 1
      src/Controller/MetadataProfileController.php

1
src/Controller/MetadataProfileController.php

@ -1186,6 +1186,7 @@ class MetadataProfileController extends ControllerBase {
if (!$setting) { if (!$setting) {
return []; return [];
} }
$bundle_config = NULL;
$target_bundles = $setting['target_bundles']; $target_bundles = $setting['target_bundles'];
foreach ($target_bundles as $index => $bundle) { foreach ($target_bundles as $index => $bundle) {
if ($handler == 'default:taxonomy_term') { if ($handler == 'default:taxonomy_term') {

Loading…
Cancel
Save