function MediaLibraryAccessTest::providerFieldWidgetEntityFieldAccess
Data provider for ::testFieldWidgetEntityFieldAccess().
Return value
array[] Sets of arguments to pass to the test method.
File
- 
              core/modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php, line 249 
Class
- MediaLibraryAccessTest
- Tests the media library access.
Namespace
Drupal\Tests\media_library\KernelCode
public static function providerFieldWidgetEntityFieldAccess() : array {
  return [
    [
      'entity_reference',
    ],
    [
      'entity_reference_subclass',
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
