public function DecoratorTest::decorators in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/tests/src/Kernel/DecoratorTest.php \Drupal\Tests\webprofiler\Kernel\DecoratorTest::decorators()
- 8.2 webprofiler/tests/src/Kernel/DecoratorTest.php \Drupal\Tests\webprofiler\Kernel\DecoratorTest::decorators()
- 4.x webprofiler/tests/src/Kernel/DecoratorTest.php \Drupal\Tests\webprofiler\Kernel\DecoratorTest::decorators()
DataProvider for testEntityTypeDecorator.
Return value
array The array of values to run tests on.
File
- webprofiler/
tests/ src/ Kernel/ DecoratorTest.php, line 49
Class
- DecoratorTest
- Class DecoratorTest.
Namespace
Drupal\Tests\webprofiler\KernelCode
public function decorators() {
return [
[
'entity_type.manager',
'Drupal\\Core\\Entity\\EntityTypeManager',
'Drupal\\webprofiler\\Entity\\EntityManagerWrapper',
],
[
'cache_factory',
'Drupal\\Core\\Cache\\MemoryBackendFactory',
'Drupal\\webprofiler\\Cache\\CacheFactoryWrapper',
],
[
'asset.css.collection_renderer',
'Drupal\\Core\\Asset\\CssCollectionRenderer',
'Drupal\\webprofiler\\Asset\\CssCollectionRendererWrapper',
],
[
'asset.js.collection_renderer',
'Drupal\\Core\\Asset\\JsCollectionRenderer',
'Drupal\\webprofiler\\Asset\\JsCollectionRendererWrapper',
],
[
'state',
'Drupal\\Core\\State\\State',
'Drupal\\webprofiler\\State\\StateWrapper',
],
[
'views.executable',
'Drupal\\views\\ViewExecutableFactory',
'Drupal\\webprofiler\\Views\\ViewExecutableFactoryWrapper',
],
[
'form_builder',
'Drupal\\Core\\Form\\FormBuilder',
'Drupal\\webprofiler\\Form\\FormBuilderWrapper',
],
[
'access_manager',
'Drupal\\Core\\Access\\AccessManager',
'Drupal\\webprofiler\\Access\\AccessManagerWrapper',
],
[
'theme.negotiator',
'Drupal\\Core\\Theme\\ThemeNegotiator',
'Drupal\\webprofiler\\Theme\\ThemeNegotiatorWrapper',
],
[
'config.factory',
'Drupal\\Core\\Config\\ConfigFactory',
'Drupal\\webprofiler\\Config\\ConfigFactoryWrapper',
],
[
'string_translation',
'Drupal\\Core\\StringTranslation\\TranslationManager',
'Drupal\\webprofiler\\StringTranslation\\TranslationManagerWrapper',
],
];
}