You are here

protected static property InstalledConfigurationTest::$ignoreConfigKeys in Thunder 8.4

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  2. 8.2 tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  3. 8.3 tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  4. 6.2.x tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  5. 6.0.x tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys
  6. 6.1.x tests/src/Functional/InstalledConfigurationTest.php \Drupal\Tests\thunder\Functional\InstalledConfigurationTest::ignoreConfigKeys

Ignore custom keys that are changed during installation process.

Type: array

File

tests/src/Functional/InstalledConfigurationTest.php, line 101

Class

InstalledConfigurationTest
Test for checking of configuration after install of thunder profile.

Namespace

Drupal\Tests\thunder\Functional

Code

protected static $ignoreConfigKeys = [
  // It's not exported in Yaml, so that new key is generated.
  'scheduler.settings' => [
    'lightweight_cron_access_key' => TRUE,
  ],
  // Changed on installation.
  'system.date' => [
    'timezone' => [
      'default' => TRUE,
    ],
  ],
  // Changed on installation.
  'system.file' => [
    'path' => [
      'temporary' => TRUE,
    ],
  ],
  // Changed on installation.
  'update.settings' => [
    'notification' => [
      'emails' => TRUE,
    ],
  ],
  // Changed on Testing.
  'system.logging' => [
    'error_level' => TRUE,
  ],
  // Changed on Testing.
  'system.mail' => [
    'interface' => [
      'default' => TRUE,
    ],
  ],
  // Changed on installation.
  'views.view.glossary' => [
    'dependencies' => [
      'config' => TRUE,
    ],
    'display' => [
      'page_1' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'attachment_1' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
    ],
  ],
  'views.view.watchdog' => [
    'display' => [
      'page' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
    ],
  ],
  'views.view.files' => [
    'display' => [
      'page_1' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'page_2' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
        ],
      ],
    ],
  ],
  'views.view.moderated_content' => [
    'display' => [
      'moderated_content' => [
        'cache_metadata' => [
          'max-age' => TRUE,
          'tags' => TRUE,
        ],
      ],
      'default' => [
        'cache_metadata' => [
          'max-age' => TRUE,
          'tags' => TRUE,
        ],
      ],
    ],
  ],
  // Diff Module: changed on installation of module when additional library
  // exists on system: mkalkbrenner/php-htmldiff-advanced.
  'diff.settings' => [
    'general_settings' => [
      'layout_plugins' => [
        'visual_inline' => [
          'enabled' => TRUE,
        ],
      ],
    ],
  ],
  // The thunder profile changes article and channel taxonomy when ivw module
  // is installed.
  'core.entity_form_display.node.article.default' => [
    'content' => [
      'field_ivw' => TRUE,
    ],
    'dependencies' => [
      'config' => TRUE,
      'module' => TRUE,
    ],
  ],
  'core.entity_form_display.taxonomy_term.channel.default' => [
    'content' => [
      'field_ivw' => TRUE,
    ],
    'dependencies' => [
      'config' => TRUE,
      'module' => TRUE,
    ],
  ],
  'core.entity_view_display.taxonomy_term.channel.default' => [
    'hidden' => [
      'field_ivw' => TRUE,
    ],
  ],
  'core.entity_view_display.node.article.default' => [
    'hidden' => [
      'field_ivw' => TRUE,
    ],
  ],
  'core.entity_view_display.node.article.rss' => [
    'hidden' => [
      'field_ivw' => TRUE,
    ],
  ],
  'core.entity_view_display.node.article.teaser' => [
    'hidden' => [
      'field_ivw' => TRUE,
    ],
  ],
  // Remove this when
  // https://github.com/BurdaMagazinOrg/module-nexx_integration/pull/37 lands.
  'core.entity_form_display.media.nexx_video.default' => [
    'content' => [
      'path' => TRUE,
      'moderation_state' => TRUE,
    ],
  ],
  'core.entity_form_display.paragraph.nexx_video.default' => [
    'content' => [
      'moderation_state' => TRUE,
    ],
  ],
  'paragraphs.paragraphs_type.nexx_video' => [
    'icon_uuid' => TRUE,
    'description' => TRUE,
  ],
];