function MissingAttributesWithDataProviderTest::provider

File

core/tests/fixtures/test_driver/MissingAttributesWithDataProviderTest.php, line 18

Class

MissingAttributesWithDataProviderTest

Namespace

Drupal\Tests\Core\Foo

Code

public static function provider() : \Generator {
  yield 'Test#1' => [
    'foo',
  ];
  yield 'Test#2' => [
    'bar',
  ];
}

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