@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Acquia\DFExtension\Context; |
| 4 | 4 | |
| 5 | 5 | use Acquia\LightningExtension\AwaitTrait; |
| 6 | - |
|
| 7 | 6 | use Drupal\DrupalExtension\Context\DrupalSubContextBase; |
| 8 | 7 | |
| 9 | 8 | /** |
@@ -29,8 +29,7 @@ |
||
| 29 | 29 | function df_tools_media_views_insert(ViewEntityInterface $view) { |
| 30 | 30 | if (\Drupal::isConfigSyncing()) { |
| 31 | 31 | return; |
| 32 | - } |
|
| 33 | - elseif (drupal_installation_attempted() && $view->id() == 'media') { |
|
| 32 | + } elseif (drupal_installation_attempted() && $view->id() == 'media') { |
|
| 34 | 33 | $display1 = &$view->getDisplay('entity_browser_1'); |
| 35 | 34 | $display2 = &$view->getDisplay('entity_browser_2'); |
| 36 | 35 | $display1['display_options']['filters']['field_tags_target_id'] = $display2['display_options']['filters']['field_tags_target_id'] = [ |