class MediaLibraryServiceProvider
Same name in other branches
- 11.x core/modules/media_library/src/MediaLibraryServiceProvider.php \Drupal\media_library\MediaLibraryServiceProvider
Service provider for media library services.
Hierarchy
- class \Drupal\media_library\MediaLibraryServiceProvider implements \Drupal\Core\DependencyInjection\ServiceProviderInterface
Expanded class hierarchy of MediaLibraryServiceProvider
File
-
core/
modules/ media_library/ src/ MediaLibraryServiceProvider.php, line 13
Namespace
Drupal\media_libraryView source
class MediaLibraryServiceProvider implements ServiceProviderInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) {
$container->registerForAutoconfiguration(MediaLibraryOpenerInterface::class)
->addTag('media_library.opener');
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
MediaLibraryServiceProvider::register | public | function | Registers services to the container. | Overrides ServiceProviderInterface::register |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.