function MediaLibraryAccessTest::editorOpenerAccessProvider
Data provider for ::testEditorOpenerAccess.
File
- 
              core/modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php, line 168 
Class
- MediaLibraryAccessTest
- Tests the media library access.
Namespace
Drupal\Tests\media_library\KernelCode
public static function editorOpenerAccessProvider() {
  return [
    'media_embed filter enabled' => [
      TRUE,
      TRUE,
    ],
    'media_embed filter disabled' => [
      FALSE,
      TRUE,
    ],
    'media_embed filter enabled, user not allowed to use text format' => [
      TRUE,
      FALSE,
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
