Loading modules/drowl_media_types/drowl_media_types.install +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ function drowl_media_types_update_8001(&$sandbox) { // For existing sites we $view = \Drupal::entityTypeManager()->getStorage('view')->load('media_library'); if (!empty($view)) { $viewWidgetDisplay =& $view->storage->getDisplay('widget'); $viewWidgetDisplay =& $view->getDisplay('widget'); if (empty($viewWidgetDisplay['display_options']['fields']['bundle'])) { // Definition of the new bundle field: $bundleField = [ Loading Loading
modules/drowl_media_types/drowl_media_types.install +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ function drowl_media_types_update_8001(&$sandbox) { // For existing sites we $view = \Drupal::entityTypeManager()->getStorage('view')->load('media_library'); if (!empty($view)) { $viewWidgetDisplay =& $view->storage->getDisplay('widget'); $viewWidgetDisplay =& $view->getDisplay('widget'); if (empty($viewWidgetDisplay['display_options']['fields']['bundle'])) { // Definition of the new bundle field: $bundleField = [ Loading