10 'gatekeeper' =>
function() {
return _elgg_services()->gatekeeper; },
11 'group_tools' =>
function() {
return _elgg_services()->group_tools; },
12 'html_formatter' =>
function() {
return _elgg_services()->html_formatter; },
18 'session_manager' =>
function() {
return _elgg_services()->session_manager; },
19 'system_messages' =>
function() {
return _elgg_services()->system_messages; },
20 'table_columns' =>
function() {
return _elgg_services()->table_columns; },
21 'thread_preloader' => \DI\autowire(\
Elgg\Comments\ThreadPreloaderService::class),
22 'translator' =>
function() {
return _elgg_services()->translator; },
25 \Elgg\Users\Accounts::class => DI\get(
'accounts'),
26 \Elgg\Comments\ThreadPreloaderService::class => DI\get(
'thread_preloader'),
27 \Elgg\Config::class => DI\get(
'config'),
28 \Elgg\Security\Csrf::class => DI\get(
'csrf'),
29 \Elgg\Application\Database::class => DI\get(
'db'),
30 \Elgg\EventsService::class => DI\get(
'events'),
31 \Elgg\Forms\FieldsService::class => DI\get(
'fields'),
32 \Elgg\Gatekeeper::class => DI\get(
'gatekeeper'),
33 \Elgg\Groups\Tools::class => DI\get(
'group_tools'),
34 \Elgg\Views\HtmlFormatter::class => DI\get(
'html_formatter'),
35 \Elgg\I18n\LocaleService::class => DI\get(
'locale'),
36 \Elgg\Logger::class => DI\get(
'logger'),
37 \Elgg\Menu\Service::class => DI\get(
'menus'),
38 \Elgg\Filesystem\MimeTypeService::class => DI\get(
'mimetype'),
39 \ElggSession::class => DI\get(
'session'),
40 \Elgg\SessionManagerService::class => DI\get(
'session_manager'),
41 \Elgg\SystemMessagesService::class => DI\get(
'system_messages'),
42 \Elgg\Views\TableColumn\ColumnFactory::class => DI\get(
'table_columns'),
43 \Elgg\I18n\Translator::class => DI\get(
'translator'),
_elgg_services()
Get the global service provider.