You are here

public function ConfigNameTest::configNameDataProvider in Update helper 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/ConfigNameTest.php \Drupal\Tests\update_helper\Kernel\ConfigNameTest::configNameDataProvider()

Data provider for configuration name tests.

Return value

array Test data with full name + type and name of configuration.

File

tests/src/Kernel/ConfigNameTest.php, line 67

Class

ConfigNameTest
Automated tests for ConfigName class.

Namespace

Drupal\Tests\update_helper\Kernel

Code

public function configNameDataProvider() {
  return [
    [
      'core.entity_view_display.test.display.config',
      'entity_view_display',
      'test.display.config',
    ],
    [
      'core.extension',
      'system.simple',
      'core.extension',
    ],
    [
      'views.view.test',
      'view',
      'test',
    ],
    [
      'field.field.taxonomy_term.test.field_test',
      'field_config',
      'taxonomy_term.test.field_test',
    ],
    [
      'field.storage.taxonomy_term.field_test',
      'field_storage_config',
      'taxonomy_term.field_test',
    ],
  ];
}