function DisplayModeBundleSelectionTest::providerBundleSelection

Same name and namespace in other branches
  1. 11.x core/modules/field_ui/tests/src/FunctionalJavascript/DisplayModeBundleSelectionTest.php \Drupal\Tests\field_ui\FunctionalJavascript\DisplayModeBundleSelectionTest::providerBundleSelection()

Data provider for testBundleSelection().

File

core/modules/field_ui/tests/src/FunctionalJavascript/DisplayModeBundleSelectionTest.php, line 146

Class

DisplayModeBundleSelectionTest
Tests the bundle selection for view & form display modes.

Namespace

Drupal\Tests\field_ui\FunctionalJavascript

Code

public static function providerBundleSelection() {
  return [
    'view display' => [
      'view',
      'display',
      'full',
    ],
    'form display' => [
      'form',
      'form-display',
      'foobar',
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.