Drupal 8  8.0.2
Drupal Class Reference

Static Public Member Functions

static setContainer (ContainerInterface $container)
 
static unsetContainer ()
 
static getContainer ()
 
static hasContainer ()
 
static service ($id)
 
static hasService ($id)
 
static root ()
 
static hasRequest ()
 
static request ()
 
static requestStack ()
 
static routeMatch ()
 
static currentUser ()
 
static entityManager ()
 
static entityTypeManager ()
 
static database ()
 
static cache ($bin= 'default')
 
static keyValueExpirable ($collection)
 
static lock ()
 
static config ($name)
 
static configFactory ()
 
static queue ($name, $reliable=FALSE)
 
static keyValue ($collection)
 
static state ()
 
static httpClient ()
 
static entityQuery ($entity_type, $conjunction= 'AND')
 
static entityQueryAggregate ($entity_type, $conjunction= 'AND')
 
static flood ()
 
static moduleHandler ()
 
static typedDataManager ()
 
static token ()
 
static urlGenerator ()
 
static url ($route_name, $route_parameters=array(), $options=array(), $collect_bubbleable_metadata=FALSE)
 
static linkGenerator ()
 
static l ($text, Url $url)
 
static translation ()
 
static languageManager ()
 
static csrfToken ()
 
static transliteration ()
 
static formBuilder ()
 
static theme ()
 
static isConfigSyncing ()
 
static logger ($channel)
 
static menuTree ()
 
static pathValidator ()
 
static accessManager ()
 
static destination ()
 
static entityDefinitionUpdateManager ()
 

Data Fields

const VERSION = '8.0.2'
 
const CORE_COMPATIBILITY = '8.x'
 
const CORE_MINIMUM_SCHEMA_VERSION = 8000
 

Static Protected Attributes

static $container
 

Detailed Description

Static Service Container wrapper.

Generally, code in Drupal should accept its dependencies via either constructor injection or setter method injection. However, there are cases, particularly in legacy procedural code, where that is infeasible. This class acts as a unified global accessor to arbitrary services within the system in order to ease the transition from procedural code to injected OO code.

The container is built by the kernel and passed in to this class which stores it statically. The container always contains the services from , the service providers of enabled modules and any other service providers defined in $GLOBALS['conf']['container_service_providers'].

This class exists only to support legacy code that cannot be dependency injected. If your code needs it, consider refactoring it to be object oriented, if possible. When this is not possible, for instance in the case of hook implementations, and your code is more than a few non-reusable lines, it is recommended to instantiate an object implementing the actual logic.

// Legacy procedural code.
function hook_do_stuff() {
$lock = lock()->acquire('stuff_lock');
// ...
}
// Correct procedural code.
function hook_do_stuff() {
$lock = \Drupal::lock()->acquire('stuff_lock');
// ...
}
// The preferred way: dependency injected code.
function hook_do_stuff() {
// Move the actual implementation to a class and instantiate it.
$instance = new StuffDoingClass(\Drupal::lock());
$instance->doStuff();
// Or, even better, rely on the service container to avoid hard coding a
// specific interface implementation, so that the actual logic can be
// swapped. This might not always make sense, but in general it is a good
// practice.
\Drupal::service('stuff.doing')->doStuff();
}
interface StuffDoingInterface {
public function doStuff();
}
class StuffDoingClass implements StuffDoingInterface {
protected $lockBackend;
public function __construct(LockBackendInterface $lock_backend) {
$this->lockBackend = $lock_backend;
}
public function doStuff() {
$lock = $this->lockBackend->acquire('stuff_lock');
// ...
}
}
See Also

Member Function Documentation

static accessManager ( )
static

Returns the access manager service.

Returns
The access manager service.

Referenced by MenuLinkContentAccessControlHandler\__construct(), LinkBase\__construct(), ListingEmpty\__construct(), AccessAwareRouter\__construct(), BookBreadcrumbBuilder\__construct(), DefaultMenuLinkTreeManipulators\__construct(), ConfigTranslationController\__construct(), ModulesListForm\__construct(), ContextualLinkManager\__construct(), PathBasedBreadcrumbBuilder\__construct(), LocalActionManager\__construct(), LocalTaskManager\__construct(), PathBasedBreadcrumbBuilder\build(), ModulesListForm\buildRow(), AccessAwareRouter\checkAccess(), LinkBase\checkUrlAccess(), DefaultMenuLinkTreeManipulators\menuLinkCheckAccess(), ListingEmpty\render(), AccessAwareRouterTest\setUp(), DefaultMenuLinkTreeManipulatorsTest\setUp(), PathBasedBreadcrumbBuilderTest\setUp(), AccessManagerTest\setUp(), LocalTaskManagerTest\setUp(), LocalActionManagerTest\setUp(), PathBasedBreadcrumbBuilderTest\setupAccessManagerToAllow(), LocalTaskManagerTest\setupLocalTaskManager(), AccessAwareRouterTest\setupRouter(), DrupalTest\testAccessManager(), PathBasedBreadcrumbBuilderTest\testBuildWithThreePathElements(), AccessAwareRouterTest\testCall(), AccessManagerTest\testCheck(), DefaultMenuLinkTreeManipulatorsTest\testCheckAccess(), AccessManagerTest\testCheckConjunctions(), AccessManagerTest\testCheckNamedRoute(), AccessManagerTest\testCheckNamedRouteWithDefaultValue(), AccessManagerTest\testCheckNamedRouteWithNonExistingRoute(), AccessManagerTest\testCheckNamedRouteWithUpcastedValues(), DefaultMenuLinkTreeManipulatorsTest\testCheckNodeAccess(), AccessManagerTest\testCheckWithNullAccount(), ContextualLinkManagerTest\testGetContextualLinksArrayByGroup(), ContextualLinkManagerTest\testGetContextualLinksArrayByGroupAccessCheck(), AccessAwareRouterTest\testMatchRequestAllowed(), AccessAwareRouterTest\testMatchRequestDenied(), and AccessManagerTest\testSetChecksWithDynamicAccessChecker().

Here is the caller graph for this function:

static config (   $name)
static

Retrieves a configuration object.

This is the main entry point to the configuration API. Calling

\Drupal::config('book.admin')

will return a configuration object in which the book module can store its administrative settings.

Parameters
string$nameThe name of the configuration object to retrieve. The name corresponds to a configuration file. For
\Drupal::config('book.admin')
, the config object returned will contain the contents of book.admin configuration file.
Returns
An immutable configuration object.

Referenced by ConfigCrudEvent\__construct(), ConfigRenameEvent\__construct(), PathProcessorFront\__construct(), FeedViewBuilder\__construct(), SysLog\__construct(), ResourceRoutes\__construct(), AutomatedCron\__construct(), Config\__construct(), ForumBreadcrumbBuilderBase\__construct(), ItemsImporter\__construct(), MaintenanceModeSubscriber\__construct(), PathProcessorLanguage\__construct(), NegotiationConfigureForm\__construct(), FinishResponseSubscriber\__construct(), AjaxResponseAttachmentsProcessor\__construct(), HtmlResponseAttachmentsProcessor\__construct(), PathBasedBreadcrumbBuilder\__construct(), SearchMatchTest\_setup(), RegisterAccessCheck\access(), FileTransferAuthorizeForm\addConnectionSettings(), ForumController\addContainer(), ForumController\addForum(), ResourceRoutes\alterRoutes(), CKEditorTest\assertCKEditorLanguage(), ConfigTest\assertConfigDataEquals(), ConfigTest\assertOriginalConfigDataEquals(), ForumBreadcrumbBuilderBase\build(), UserLoginBlock\build(), PathBasedBreadcrumbBuilder\build(), ForumController\build(), ViewExecutable\build(), AjaxResponseAttachmentsProcessor\buildAttachmentsCommands(), FeedViewBuilder\buildComponents(), TestProcessor\buildConfigurationForm(), DefaultProcessor\buildConfigurationForm(), LocaleSettingsForm\buildForm(), ThemeAdminForm\buildForm(), ForumSettingsForm\buildForm(), NegotiationSessionForm\buildForm(), SimpletestSettingsForm\buildForm(), LoggingForm\buildForm(), RssFeedsForm\buildForm(), BookSettingsForm\buildForm(), AdvancedSettingsForm\buildForm(), NegotiationSelectedForm\buildForm(), Overview\buildForm(), FileTransferAuthorizeForm\buildForm(), UpdateSettingsForm\buildForm(), SiteMaintenanceModeForm\buildForm(), StatisticsSettingsForm\buildForm(), RegionalForm\buildForm(), BasicSettingsForm\buildForm(), NegotiationUrlForm\buildForm(), ImageToolkitForm\buildForm(), UserCancelForm\buildForm(), FileSystemForm\buildForm(), AccountSettingsForm\buildForm(), UserLoginForm\buildForm(), SiteInformationForm\buildForm(), UserMultipleCancelConfirm\buildForm(), PerformanceForm\buildForm(), FieldStorageAddForm\buildForm(), SettingsForm\buildForm(), SiteConfigureForm\buildForm(), SearchPageListBuilder\buildForm(), ContactFormListBuilder\buildRow(), ImageStyle\buildUrl(), Config\calculateDependencies(), UserController\confirmCancel(), ContactController\contactSitePage(), DateFormatter\country(), BlockDependenciesTest\createBlock(), UsageTest\createTempFiles(), BlockStorageUnitTest\createTests(), ViewStorageTest\createTests(), JsCollectionOptimizer\deleteAll(), CssCollectionOptimizer\deleteAll(), ImageStyleDownloadController\deliver(), ViewStorageTest\displayTests(), AssetDumper\dump(), ContentTranslationHandler\entityFormAlter(), UserSelection\entityQueryAlter(), ThemeInstallerTest\extensionConfig(), file_directory_temp(), file_munge_filename(), TermForm\form(), ViewPreviewForm\form(), FilterFormatFormBase\form(), ContactFormEditForm\form(), BlockForm\form(), ForumController\forumIndex(), ForumController\forumPage(), ForumForm\forumParentSelect(), Comment\getAuthorName(), StaticMenuLinkOverrides\getConfig(), UserCancelForm\getDescription(), ViewEditForm\getDisplayDetails(), UserSession\getDisplayName(), User\getDisplayName(), FieldPluginBase\getElements(), Views\getEnabledDisplayExtenders(), LanguageNegotiationSelected\getLangcode(), LanguageNegotiationBrowser\getLangcode(), LanguageNegotiationUrl\getLangcode(), LanguageNegotiationUrlFallback\getLangcode(), LanguageNegotiationSession\getLangcode(), LanguageNegotiationSession\getLanguageSwitchLinks(), DefaultLazyPluginCollectionTest\getPluginMock(), UserViewsData\getViewsData(), LanguageNegotiationContentEntity\hasLowerLanguageNegotiationWeight(), hook_entity_bundle_delete(), hook_form_alter(), hook_mail_alter(), hook_menu_links_discovered_alter(), hook_node_grants_alter(), hook_ranking(), hook_rest_relation_uri_alter(), hook_rest_type_uri_alter(), hook_update_status_alter(), hook_user_login(), Config\import(), ConfigImporterFieldPurger\initializeSandbox(), ConfigCrudEvent\isChanged(), ViewFormBase\isDefaultDisplayShown(), FilterFormat\isFallbackFormat(), NegotiationBrowserForm\language_get_browser_drupal_langcode_mappings(), BlockListController\listing(), ViewStorageTest\loadTests(), SysLog\log(), MaintenanceModeSubscriber\onKernelRequestMaintenance(), FinishResponseSubscriber\onRespond(), AutomatedCron\onTerminate(), SysLog\openConnection(), AggregatorController\pageLast(), SearchQuery\parseSearchExpression(), SearchQuery\parseWord(), LanguageNegotiationSession\persist(), FileWidget\process(), HtmlResponseAttachmentsProcessor\processAssetLibraries(), PathProcessorFront\processInbound(), LanguageNegotiationUrl\processInbound(), LanguageNegotiationSession\processOutbound(), LanguageNegotiationUrl\processOutbound(), Weight\processWeight(), ItemsImporter\refresh(), StaticMenuLinkOverrides\reload(), UserController\resetPass(), RegisterForm\save(), ContactFormEditForm\save(), BlockContentForm\save(), MessageForm\save(), LanguageNegotiationMethodBase\setConfig(), TestProcessor\setConfiguration(), DefaultProcessor\setConfiguration(), FinishResponseSubscriber\setResponseCacheable(), TokenReplaceUnitTest\setUp(), FileStorageTest\setUp(), MigrateBlockTest\setUp(), SettingsTest\setUp(), LocalActionDefaultTest\setupLocalActionDefault(), LocalTaskDefaultTest\setupLocalTaskDefault(), LazyPluginCollectionTestBase\setupPluginCollection(), NegotiationSelectedForm\submitForm(), NegotiationSessionForm\submitForm(), LoggingForm\submitForm(), ThemeAdminForm\submitForm(), FormTestArgumentsObject\submitForm(), FormTestServiceObject\submitForm(), FormTestObject\submitForm(), RssFeedsForm\submitForm(), NegotiationBrowserDeleteForm\submitForm(), BookSettingsForm\submitForm(), ForumSettingsForm\submitForm(), FormTestControllerObject\submitForm(), RegisterForm\submitForm(), SiteMaintenanceModeForm\submitForm(), StatisticsSettingsForm\submitForm(), AdvancedSettingsForm\submitForm(), LocaleSettingsForm\submitForm(), SimpletestSettingsForm\submitForm(), ImageToolkitForm\submitForm(), ExportForm\submitForm(), UpdateSettingsForm\submitForm(), FileSystemForm\submitForm(), RegionalForm\submitForm(), BasicSettingsForm\submitForm(), PerformanceForm\submitForm(), FileTransferAuthorizeForm\submitForm(), NegotiationBrowserForm\submitForm(), SettingsForm\submitForm(), NegotiationUrlForm\submitForm(), SiteInformationForm\submitForm(), SiteConfigureForm\submitForm(), SearchPageListBuilder\submitForm(), ThemeSettingsForm\submitForm(), AccountSettingsForm\submitForm(), MigrateActionConfigsTest\testActionSettings(), DefaultLazyPluginCollectionTest\testAddInstanceId(), MigrateAggregatorConfigsTest\testAggregatorSettings(), MigrateNodeSettingsTest\testAggregatorSettings(), EntityFormDisplayTest\testBaseFieldComponent(), EntityDisplayTest\testBaseFieldComponent(), BasicAuthTest\testBasicAuth(), BlockConfigSchemaTest\testBlockConfigSchema(), MigrateBookConfigsTest\testBookSettings(), MigrateDblogConfigsTest\testBookSettings(), BookUninstallTest\testBookUninstall(), CKEditorTest\testBuildContentsCssJSSetting(), ImmutableConfigTest\testClear(), TokenReplaceUnitTest\testClear(), ConfigTest\testClear(), DrupalTest\testConfig(), ContentTranslationConfigImportTest\testConfigImportUpdates(), ConfigLanguageOverrideTest\testConfigLanguageOverride(), ConfigEventsTest\testConfigRenameEvent(), ConfigSchemaTest\testConfigSaveWithSchema(), SchemaConfigListenerTest\testConfigSchemaChecker(), DefaultLazyPluginCollectionTest\testConfigurableGetConfiguration(), ConfigOverrideTest\testConfOverride(), MigrateContactSettingsTest\testContactSettings(), FieldStorageCrudTest\testCreate(), WizardPluginBaseKernelTest\testCreateView(), ConfigCRUDTest\testCRUD(), UpdatePathRC1TestBaseTest\testDatabaseLoaded(), UpdatePathTestBaseTest\testDatabaseLoaded(), ConfigCRUDTest\testDataTypes(), MigrateDblogConfigsTest\testDblogSettings(), NumberFieldRdfaTest\testDecimalFormatterWithSettings(), ImmutableConfigTest\testDelete(), ConfigTest\testDelete(), ConfigImporterTest\testDeleted(), LanguageDependencyInjectionTest\testDependencyInjectedNewDefaultLanguage(), ConfigDiffTest\testDiff(), EntityUrlLanguageTest\testEntityUrlLanguageWithLanguageContentEnabled(), ConfigExportUITest\testExport(), DisplayApiTest\testFieldItemListView(), DirectoryTest\testFileDirectoryTemp(), MigrateFileConfigsTest\testFileSettings(), NumberFieldRdfaTest\testFloatFormatterWithScaleExercised(), NumberFieldRdfaTest\testFloatFormatterWithSettings(), MigrateForumConfigsTest\testForumSettings(), MigrateForumSettingsTest\testForumSettingsMigration(), SettingsTest\testGet(), SettingsTest\testGetAll(), ConfigTest\testGetCacheTags(), ViewEntityDependenciesTest\testGetDependencies(), SettingsTest\testGetHashSalt(), FieldImportDeleteUninstallTest\testImportAlreadyDeletedUninstall(), FieldImportDeleteUninstallTest\testImportDeleteUninstall(), ConfigTest\testInitWithData(), KernelTestBaseTest\testInstallConfig(), ConfigInstallProfileOverrideTest\testInstallProfileConfigOverwrite(), NumberFieldRdfaTest\testIntegerFormatterWithSettings(), ConfigInstallWebTest\testIntegrationModuleReinstallation(), DeleteTest\testInUse(), ConfigTest\testIsNew(), ConfigInstallTest\testLanguage(), MigrateLanguageNegotiationSettingsTest\testLanguageNegotiation(), MigrateLocaleConfigsTest\testLocaleSettings(), ConfigTest\testMerge(), MessageTest\testMessages(), MigrateUserMailTest\testMigration(), MigrateUserFloodTest\testMigration(), MigrateImageSettingsTest\testMigration(), MigrateTrackerSettingsTest\testMigration(), MigrateSimpletestSettingsTest\testMigration(), MigrateAggregatorSettingsTest\testMigration(), ConfigInstallTest\testModuleInstallation(), NameMungingTest\testMungeIgnoreInsecure(), NameMungingTest\testMunging(), ConfigCRUDTest\testNameValidation(), ConfigTest\testNestedClear(), ConfigImporterTest\testNew(), MigrateNodeConfigsTest\testNodeSettings(), ConfigImporterTest\testNoImport(), KernelTestBaseTest\testNoThemeByDefault(), ConfigTest\testOverrideData(), ConfigFileContentTest\testReadWriteConfig(), ConfigImportRenameValidationTest\testRenameSimpleConfigValidation(), ConfigTest\testSafeStringHandling(), ImmutableConfigTest\testSave(), ConfigTest\testSaveExisting(), ConfigTest\testSaveNew(), ConfigSchemaTest\testSchemaMapping(), MigrateSearchSettingsTest\testSearchSettings(), ImmutableConfigTest\testSet(), DefaultLazyPluginCollectionTest\testSet(), ConfigTest\testSetData(), ConfigTest\testSetIllegalOffsetValue(), ConfigTest\testSetName(), ConfigTest\testSetValidation(), ConfigTest\testSetValue(), MigrateSimpletestConfigsTest\testSimpletestSettings(), ConfigImporterTest\testSiteUuidValidate(), ConfigSnapshotTest\testSnapshot(), MigrateStatisticsConfigsTest\testStatisticsSettings(), MigrateSyslogConfigsTest\testSyslogSettings(), MigrateSystemCronTest\testSystemCron(), MigrateSystemDateTest\testSystemDate(), MigrateSystemImageTest\testSystemImage(), MigrateSystemImageGdTest\testSystemImageGd(), MigrateSystemLoggingTest\testSystemLogging(), MigrateSystemMaintenanceTest\testSystemMaintenance(), MigrateSystemPerformanceTest\testSystemPerformance(), MigrateSystemRssTest\testSystemRss(), MigrateSystemSiteTest\testSystemSite(), TokenReplaceUnitTest\testSystemSiteTokenReplacement(), MigrateTaxonomyConfigsTest\testTaxonomySettings(), UsageTest\testTempFileCustomCleanup(), UsageTest\testTempFileNoCleanup(), MigrateTextConfigsTest\testTextSettings(), TableTest\testThemeTableWithEmptyMessage(), SchemaCheckTraitTest\testTrait(), ThemeInstallerTest\testUninstall(), ThemeInstallerTest\testUninstallAdmin(), RecalculatedDependencyTest\testUpdate(), AutomatedCronUpdateWithAutomatedCronTest\testUpdate(), AutomatedCronUpdateWithoutAutomatedCronTest\testUpdate(), ConfigImporterTest\testUpdated(), MigrateUpdateConfigsTest\testUpdateSettings(), StreamWrapperTest\testUriFunctions(), MigrateUserConfigsTest\testUserMail(), UserAccountFormFieldsTest\testUserRegistrationForm(), UserTokenReplaceTest\testUserTokenReplacement(), ConfigTest\testValidateNameException(), UserActionConfigSchemaTest\testValidUserActionConfigSchema(), ConfigCRUDTest\testValueValidation(), SystemController\themesPage(), FilterHtml\tips(), ThemeController\uninstall(), UpdateTestController\updateTest(), UserLoginForm\validateAuthentication(), Search\validateExposed(), UserLoginForm\validateFinal(), SimpletestSettingsForm\validateForm(), NegotiationUrlForm\validateForm(), MessageForm\validateForm(), ConfigSingleImportForm\validateForm(), SearchController\view(), and DateHelper\weekDaysOrdered().

static configFactory ( )
static

Retrieves the configuration factory.

This is mostly used to change the override settings on the configuration factory. For example, changing the language, or turning all overrides on or off.

Returns
The configuration factory service.

Referenced by SchemaListenerController\__construct(), DefaultNegotiator\__construct(), NodeAdminRouteSubscriber\__construct(), DbUpdateNegotiator\__construct(), ThemeController\__construct(), SearchPageRepository\__construct(), RestPermissions\__construct(), TypeLinkManager\__construct(), ContactPageAccess\__construct(), ImageToolkitManager\__construct(), Fast404ExceptionHtmlSubscriber\__construct(), SystemBrandingBlock\__construct(), FilterFormatListBuilder\__construct(), StaticMenuLinkOverrides\__construct(), DefaultExceptionSubscriber\__construct(), CustomPageExceptionHtmlSubscriber\__construct(), NodePreviewForm\__construct(), RelationLinkManager\__construct(), SearchBlockForm\__construct(), Query\__construct(), AdminPathConfigEntityConverter\__construct(), QueryFactory\__construct(), ForumUninstallValidator\__construct(), LocaleConfigSubscriber\__construct(), SearchPageListBuilder\__construct(), PathMatcher\__construct(), AdminNegotiator\__construct(), TestProcessor\__construct(), AjaxBasePageNegotiator\__construct(), BasicAuth\__construct(), MailManager\__construct(), LanguageListBuilder\__construct(), ImageToolkitBase\__construct(), ConfigSubscriber\__construct(), BookManager\__construct(), FieldStorageAddForm\__construct(), ConfigInstaller\__construct(), DefaultProcessor\__construct(), ThemeInstaller\__construct(), LanguageNegotiator\__construct(), ConfigManager\__construct(), DateFormatter\__construct(), LocaleLookup\__construct(), LocaleTranslation\__construct(), ConfigEntityStorage\__construct(), ConfigurableLanguageManager\__construct(), LocaleConfigManager\__construct(), ConfigNamesMapper\__construct(), ForumManager\__construct(), ThemeHandler\__construct(), ContactPageAccess\access(), BookManager\addParentSelectFormElements(), NodeAdminRouteSubscriber\alterRoutes(), LocaleConfigSubscriberTest\assertActiveConfig(), LocaleConfigSubscriberTest\assertConfigOverride(), LocaleConfigSubscriberTest\assertNoConfigOverride(), ModuleTestBase\assertNoModuleConfig(), BasicAuth\authenticate(), SystemBrandingBlock\build(), TestToolkit\buildConfigurationForm(), GDToolkit\buildConfigurationForm(), SearchBlockForm\buildForm(), FilterFormatListBuilder\buildRow(), LocaleTranslation\canTranslateEnglish(), BasicAuth\challengeException(), SearchPageRepository\clearDefaultSearchPage(), LocaleConfigSubscriberTest\deleteLanguageOverride(), LocaleConfigSubscriberTest\deleteLocaleTranslationData(), DefaultNegotiator\determineActiveTheme(), DbUpdateNegotiator\determineActiveTheme(), AdminNegotiator\determineActiveTheme(), AjaxBasePageNegotiator\determineActiveTheme(), ConfigEntityStorage\doDelete(), ConfigEntityStorage\doSave(), NodeTranslationUITest\doUninstallTest(), FieldStorageAddForm\fieldNameExists(), file_directory_temp(), ConfigInstaller\findDefaultConfigWithUnmetDependencies(), QueryFactory\get(), SystemBrandingBlock\getCacheTags(), StaticMenuLinkOverrides\getConfig(), ConfigNamesMapper\getConfigData(), ConfigManager\getConfigDependencyManager(), TestProcessor\getConfiguration(), DefaultProcessor\getConfiguration(), ThemeHandler\getDefault(), LocaleConfigManager\getDefaultConfigLangcode(), SearchPageRepository\getDefaultSearchPage(), ImageToolkitManager\getDefaultToolkitId(), EntityDisplayFormBase\getDisplays(), ConfigInstaller\getEnabledExtensions(), LanguageNegotiator\getEnabledNegotiators(), DefaultExceptionSubscriber\getErrorLevel(), ForumUninstallValidator\getForumVocabulary(), ConfigEntityStorage\getFromStaticCache(), PathMatcher\getFrontPagePath(), ForumManager\getIndex(), MailManager\getInstance(), ConfigurableLanguageManager\getLanguages(), LinkManagerBase\getLinkDomain(), LanguageNegotiator\getNegotiationMethodInstance(), LocaleTranslation\getStringTranslation(), ForumManager\getTopics(), ConfigEntityStorage\has(), ThemeHandler\hasUi(), ThemeInstaller\install(), ConfigInstaller\installCollectionDefaultConfig(), ConfigInstaller\installDefaultConfig(), ConfigurableLanguageManager\loadLanguageTypesConfiguration(), Query\loadRecords(), MailManager\mail(), CustomPageExceptionHtmlSubscriber\on403(), Fast404ExceptionHtmlSubscriber\on404(), CustomPageExceptionHtmlSubscriber\on404(), ConfigSubscriber\onConfigSave(), LocaleConfigSubscriber\onOverrideChange(), RestPermissions\permissions(), ThemeHandler\rebuildThemeData(), ThemeHandler\refreshInfo(), StaticMenuLinkOverrides\reload(), LocaleLookup\resolveCacheMiss(), GDToolkit\save(), LanguageNegotiator\saveConfiguration(), LocaleConfigSubscriberTest\saveLanguageOverride(), ConfigurableLanguageManager\saveLanguageTypesConfiguration(), LocaleConfigSubscriberTest\saveLocaleTranslationData(), LocaleConfigManager\saveTranslationActive(), ThemeHandler\setDefault(), SearchPageRepository\setDefaultSearchPage(), ThemeController\setDefaultTheme(), NodeTypeMapper\setEntity(), ConfigEntityStorage\setStaticCache(), FieldUpdateTest\setUp(), AggregatorPluginSettingsBaseTest\setUp(), SearchPageRepositoryTest\setUp(), LocaleConfigSubscriberTest\setUp(), ConfigFactoryTest\setUp(), BookManagerTest\setUp(), ViewsDataTest\setUp(), ThemeHandlerTest\setUp(), LocaleLookupTest\setUp(), CustomPageExceptionHtmlSubscriberTest\setUp(), ConfigEntityStorageTest\setUp(), MailManagerTest\setUpMailManager(), LocaleConfigSubscriberTest\setUpTranslation(), TestToolkit\submitConfigurationForm(), GDToolkit\submitConfigurationForm(), LanguageListBuilder\submitForm(), ConfigTranslationFormBase\submitForm(), SchemaListenerController\test(), UserPermissionsTest\testAdministratorRole(), BlockUiTest\testBlockAdminUiPage(), SearchPageRepositoryTest\testClearDefaultSearchPage(), ConfigLanguageOverrideTest\testConfigLanguageOverride(), ConfigEventsTest\testConfigRenameEvent(), ConfigOverrideTest\testConfOverride(), LocaleConfigSubscriberForeignTest\testDefaultConfigLanguage(), ConfigEntityStorageTest\testDelete(), LocaleConfigSubscriberForeignTest\testDeleteActiveTranslation(), ConfigEntityStorageTest\testDeleteNothing(), DestinationTest\testDestination(), DisplayTest\testDisplayTitleInButtonsXss(), LocaleConfigSubscriberForeignTest\testEnglish(), UpcastingTest\testEntityLanguage(), SearchExactTest\testExactQuery(), FieldUpdateTest\testFieldUpdate8001(), FieldUpdateTest\testFieldUpdate8002(), LocaleConfigManagerTest\testGetDefaultConfigLangcode(), SearchPageRepositoryTest\testGetDefaultSearchPageWithActiveDefault(), SearchPageRepositoryTest\testGetDefaultSearchPageWithInactiveDefault(), ConfigInstallWebTest\testIntegrationModuleReinstallation(), ConfigEntityStorageTest\testLoad(), ConfigEntityStorageTest\testLoadMultipleAll(), ConfigEntityStorageTest\testLoadMultipleIds(), LocaleConfigSubscriberForeignTest\testLocaleDeleteActiveTranslation(), CrudTest\testMappingCreation(), ConfigInstallTest\testModuleInstallation(), PreviewTest\testPreviewUI(), ConfigFactoryTest\testRename(), LocaleLookupTest\testResolveCacheMissNoTranslation(), LocaleLookupTest\testResolveCacheMissWithFallback(), LocaleLookupTest\testResolveCacheMissWithoutFallback(), LocaleLookupTest\testResolveCacheMissWithPersist(), ConfigEntityStorageTest\testSaveChangedUuid(), ConfigEntityStorageTest\testSaveDuplicate(), ConfigEntityStorageTest\testSaveInsert(), ConfigEntityStorageTest\testSaveMismatch(), ConfigEntityStorageTest\testSaveNoMismatch(), ConfigEntityStorageTest\testSaveRename(), ConfigEntityStorageTest\testSaveUpdate(), SearchPageRepositoryTest\testSetDefaultSearchPage(), AggregatorPluginSettingsBaseTest\testSettingsForm(), ConfigSnapshotTest\testSnapshot(), MigrateSystemFileTest\testSystemFile(), ThemeTest\testThemeSettings(), ConfigImporterTest\testUpdated(), ThemeInstaller\uninstall(), and FieldStorageAddForm\validateAddNew().

static csrfToken ( )
static

Returns the CSRF token manager service.

The generated token is based on the session ID of the current user. Normally, anonymous users do not have a session, so the generated token will be different on every page request. To generate a token for users without a session, manually start a session prior to calling this function.

Returns
The CSRF token manager.
See Also
::start()

Referenced by RouteProcessorCsrf\__construct(), CsrfAccessCheck\__construct(), BatchStorage\__construct(), FormValidator\__construct(), FormCache\__construct(), FormBuilder\__construct(), CsrfAccessCheck\access(), CSRFAccessCheck\access(), BatchStorage\create(), RequestHandler\csrfToken(), FormBuilder\doBuildForm(), FormCache\getCache(), BatchStorage\load(), FormBuilder\processForm(), RouteProcessorCsrf\processOutbound(), FormBuilder\renderFormTokenPlaceholder(), RouteProcessorCsrf\renderPlaceholderCsrfToken(), FormCache\setCache(), FormValidatorTest\setUp(), FormCacheTest\setUp(), FormTestBase\setUp(), CsrfAccessCheckTest\testAccessTokenFail(), CsrfAccessCheckTest\testAccessTokenPass(), DrupalTest\testCsrfToken(), FormValidatorTest\testElementValidate(), FormBuilderTest\testExceededFileSize(), FormValidatorTest\testExecuteValidateHandlers(), FormCacheTest\testGetCacheAnonUser(), FormCacheTest\testGetCacheInvalidToken(), FormCacheTest\testGetCacheValidToken(), FormValidatorTest\testHandleErrorsWithLimitedValidation(), FormBuilderTest\testInvalidToken(), FormValidatorTest\testMustValidate(), FormValidatorTest\testPerformRequiredValidation(), FormValidatorTest\testPreventDuplicateValidation(), RouteProcessorCsrfTest\testProcessOutboundNoRequirement(), FormValidatorTest\testRequiredErrorMessage(), FormCacheTest\testSetCacheAuthUser(), FormValidatorTest\testValidateInvalidFormToken(), FormValidatorTest\testValidateValidFormToken(), FormValidatorTest\testValidationComplete(), and FormValidator\validateForm().

Here is the caller graph for this function:

static currentUser ( )
static

Gets the current active user.

Returns

Referenced by AnonymousUserResponseSubscriber\__construct(), LoginLogoutMenuLink\__construct(), ProtectedUserFieldConstraintValidator\__construct(), CommentViewBuilder\__construct(), AllowedValuesConstraintValidator\__construct(), CommentStorage\__construct(), ListingEmpty\__construct(), AccountSwitcher\__construct(), CancelUser\__construct(), DeleteNode\__construct(), CommentStatistics\__construct(), CommentForm\__construct(), LanguageRequestSubscriber\__construct(), ImageFormatter\__construct(), SystemTestController\__construct(), PrivateTempStoreFactory\__construct(), ActiveLinkResponseFilter\__construct(), CommentLinkBuilder\__construct(), ViewsSelection\__construct(), AccessManager\__construct(), CommentLazyBuilders\__construct(), DefaultSelection\__construct(), PrivateTempStore\__construct(), ResponsiveImageFormatter\__construct(), UserSearch\__construct(), ContentTranslationHandler\__construct(), CommentManager\__construct(), ModulesListForm\__construct(), PathBasedBreadcrumbBuilder\__construct(), FormCache\__construct(), ForumController\__construct(), CommentDefaultFormatter\__construct(), ProfileForm\actions(), CommentForm\actions(), NodeForm\actions(), BookAdminEditForm\bookAdminTableTree(), PathBasedBreadcrumbBuilder\build(), ForumController\buildActionLinks(), CommentLinkBuilder\buildCommentedEntityLinks(), ViewsSelection\buildConfigurationForm(), FileSelection\buildEntityQuery(), CommentSelection\buildEntityQuery(), NodeSelection\buildEntityQuery(), UserSelection\buildEntityQuery(), FormTestVerticalTabsForm\buildForm(), SwitchShortcutSet\buildForm(), UserPasswordForm\buildForm(), UserCancelForm\buildForm(), UserMultipleCancelConfirm\buildForm(), ModulesListConfirmForm\buildForm(), ModulesUninstallConfirmForm\buildForm(), CommentLazyBuilders\buildLinks(), ToolbarController\checkSubTreeAccess(), ContactController\contactSitePage(), CommentStatistics\create(), UserTrackerTab\currentUser(), LinkBase\currentUser(), FormBuilder\currentUser(), EntityTranslationTest\doTestEntityLanguageMethods(), FieldEntityLinkTest\doTestEntityLink(), WebTestBase\drupalCreateNode(), ContentTranslationHandler\entityFormAlter(), CommentSelection\entityQueryAlter(), UserSelection\entityQueryAlter(), UserSearch\execute(), CancelUser\executeMultiple(), BookOutlineForm\form(), MessageForm\form(), BlockContentForm\form(), EntityReferenceAutocompleteWidget\formElement(), ForumController\forumPage(), ImageItem\generateSampleValue(), SharedTempStoreFactory\get(), PrivateTempStoreFactory\get(), Editor\getAttachments(), FormCache\getCache(), LocaleLookup\getCid(), CommentManager\getCountNewComments(), Node\getCurrentUserId(), UserCancelForm\getDescription(), CommentStorage\getDisplayOrdinal(), LanguageNegotiationUser\getLangcode(), LanguageNegotiationUserAdmin\getLangcode(), LanguageNegotiator\getNegotiationMethodInstance(), HistoryController\getNodeReadTimestamps(), OptionsWidgetBase\getOptions(), PrivateTempStore\getOwner(), UserCancelForm\getQuestion(), CommentController\getReplyForm(), DynamicMenuLinkMock\getRouteName(), LoginLogoutMenuLink\getRouteName(), SessionTestController\getSession(), DynamicMenuLinkMock\getTitle(), LoginLogoutMenuLink\getTitle(), ContentTranslationHandler\getTranslationAccess(), hook_file_url_alter(), hook_preprocess(), hook_query_TAG_alter(), hook_template_preprocess_default_variables_alter(), hook_user_cancel_methods_alter(), hook_views_pre_execute(), hook_views_pre_view(), DynamicPageCacheTestController\htmlUncacheableContexts(), HistoryUserTimestamp\init(), LanguageNegotiator\initializeType(), ViewUI\isLocked(), CommentStorage\loadThread(), LoggerChannel\log(), DefaultMenuLinkTreeManipulatorsTest\mockTree(), LanguageRequestSubscriber\onKernelRequestLanguage(), AnonymousUserResponseSubscriber\onRespond(), ActiveLinkResponseFilter\onResponse(), SystemController\overview(), SystemTestController\permissionDependentContent(), LanguageNegotiationSession\persist(), User\postSave(), EntityAccessControlHandler\prepareUser(), NodeNewComments\preRender(), Comment\preSave(), EntityAutocomplete\processEntityAutocomplete(), LanguageNegotiationSession\processOutbound(), HistoryUserTimestamp\query(), HistoryController\readNode(), ListingEmpty\render(), HistoryUserTimestamp\render(), CommentController\replyFormAccess(), UserController\resetPass(), MessageForm\save(), CommentForm\save(), FormCache\setCache(), DynamicMenuLinkMock\setCurrentUser(), LanguageNegotiationMethodBase\setCurrentUser(), LanguageNegotiator\setCurrentUser(), LoggerChannel\setCurrentUser(), SessionTestController\setSession(), ImageFormatter\settingsForm(), ResponsiveImageFormatter\settingsForm(), AccessAwareRouterTest\setUp(), DefaultMenuLinkTreeManipulatorsTest\setUp(), PrivateTempStoreTest\setUp(), CommentLinkBuilderTest\setUp(), PathBasedBreadcrumbBuilderTest\setUp(), AccessManagerTest\setUp(), AccessAwareRouterTest\setupRouter(), UserCancelForm\submitForm(), ModulesListConfirmForm\submitForm(), ModulesUninstallConfirmForm\submitForm(), UserMultipleCancelConfirm\submitForm(), SwitchShortcutSet\submitForm(), ModulesUninstallForm\submitForm(), NodeForm\submitForm(), ModulesListForm\submitForm(), AccountSwitcher\switchBack(), AccountSwitcher\switchTo(), TestContent\test11(), FormCacheTest\testCacheToken(), AccessAwareRouterTest\testCall(), DefaultMenuLinkTreeManipulatorsTest\testCheckAccess(), DefaultMenuLinkTreeManipulatorsTest\testCheckAccessWithLinkToAnyPagePermission(), AccessManagerTest\testCheckException(), AccessManagerTest\testCheckNamedRouteWithDefaultValue(), AccessManagerTest\testCheckNamedRouteWithUpcastedValues(), DefaultMenuLinkTreeManipulatorsTest\testCheckNodeAccess(), AccessManagerTest\testCheckWithNullAccount(), EntityReferenceSelectionAccessTest\testCommentHandler(), CommentLinkBuilderTest\testCommentLinkBuilder(), BlockUiTest\testContextAwareBlocks(), DrupalTest\testCurrentUser(), EntityAccessControlHandlerTest\testDefaultEntityAccess(), EntityAccessControlHandlerTest\testEntityAccess(), EntityAccessControlHandlerTest\testEntityAccessDefaultController(), EntityAutocompleteElementFormTest\testEntityAutocompleteAccess(), FieldEntityLinkTest\testEntityLink(), EntityAccessControlHandlerTest\testEntityTranslationAccess(), HistoryTimestampTest\testHandlers(), ContentTranslationSyncImageTest\testImageFieldSync(), FunctionsTest\testLinks(), EntityReferenceSelectionAccessTest\testNodeHandler(), DisplayPageTest\testPageResponses(), AccessManagerTest\testSetChecksWithDynamicAccessChecker(), FilterAPITest\testTypedDataAPI(), EntityReferenceSelectionAccessTest\testUserHandler(), UserTokenReplaceTest\testUserTokenReplacement(), UserBlocksTest\testWhosOnlineBlock(), FormTestController\twoFormInstances(), ViewExecutable\unserialize(), CommentStatistics\update(), UserController\userPage(), AllowedValuesConstraintValidator\validate(), ProtectedUserFieldConstraintValidator\validate(), MessageForm\validateForm(), and CommentDefaultFormatter\viewElements().

static database ( )
static

Returns the current primary database.

Returns
The current active database's master connection.

Referenced by PersistentDatabaseLockBackend\__construct(), ErrorTestController\__construct(), ForumIndexStorage\__construct(), DatabaseLockBackend\__construct(), TestSqlIdMap\__construct(), ShortcutSetDeleteForm\__construct(), UserUid\__construct(), Roles\__construct(), Vid\__construct(), NodeNewComments\__construct(), NodeGrantDatabaseStorage\__construct(), SimpletestResultsForm\__construct(), CommentStatistics\__construct(), DbLogController\__construct(), UserSearch\__construct(), SqlContentEntityStorageSchema\__construct(), NodeSearch\__construct(), SqlContentEntityStorage\__construct(), _batch_queue(), NodeGrantDatabaseStorage\access(), DatabaseLockBackend\acquire(), SqlContentEntityStorageSchema\addIndex(), SqlContentEntityStorageSchema\addUniqueKey(), NodeGrantDatabaseStorage\alterQuery(), FieldSchemaDataUninstallUpdateTest\assertFieldSchemaData(), SqlContentEntityStorage\buildQuery(), NodeGrantDatabaseStorage\checkAll(), NodeStorage\clearRevisionsLanguage(), NodeGrantDatabaseStorage\count(), NodeStorage\countDefaultLanguageRevisions(), ForumIndexStorage\create(), CommentStatistics\create(), SqlContentEntityStorageSchema\createDedicatedTableSchema(), SqlContentEntityStorageSchema\createEntitySchemaIndexes(), ForumIndexStorage\createIndex(), SqlContentEntityStorageSchema\createSharedTableSchema(), ForumIndexStorage\delete(), CommentStatistics\delete(), NodeGrantDatabaseStorage\delete(), SqlContentEntityStorage\delete(), SqlContentEntityStorageSchema\deleteDedicatedTableSchema(), SqlContentEntityStorageSchema\deleteEntitySchemaIndexes(), ForumIndexStorage\deleteIndex(), NodeGrantDatabaseStorage\deleteNodeRecords(), ForumIndexStorage\deleteRevision(), UserStorage\deleteRoleReferences(), SqlContentEntityStorageSchema\deleteSharedTableSchema(), TermStorage\deleteTermHierarchy(), SqlContentEntityStorage\doDeleteFieldItems(), SqlContentEntityStorage\doDeleteRevisionFieldItems(), UserStorage\doSaveFieldItems(), SqlContentEntityStorage\doSaveFieldItems(), DbLogController\eventDetails(), UserSearch\execute(), NodeSearch\findResults(), CommentStorage\getChildCids(), SqlBase\getDatabase(), TestSqlBase\getDatabase(), Sql\getDatabase(), CommentStorage\getDisplayOrdinal(), FeedStorage\getFeedIdsToRefresh(), MigrateSqlIdMapTest\getIdMap(), CommentStatistics\getMaximumCount(), CommentStorage\getMaxThread(), CommentStorage\getMaxThreadPerThread(), CommentStorage\getNewCommentPageNumber(), ForumIndexStorage\getOriginalTermId(), SimpletestResultsForm\getResults(), SqlContentEntityStorage\getStorageSchema(), CommentStorage\getUnapprovedCount(), SqlContentEntityStorageSchema\hasNullFieldPropertyData(), MigrateSqlIdMapTest\idMapDefaults(), NodeSearch\indexStatus(), SqlContentEntityStorageSchema\isTableEmpty(), TermStorage\loadChildren(), SqlContentEntityStorage\loadFromSharedTables(), TermStorage\loadParents(), CommentStorage\loadThread(), TermStorage\loadTree(), DatabaseLockBackend\lockMayBeAvailable(), TermStorage\nodeCount(), SqlContentEntityStorageSchema\onEntityTypeCreate(), SqlContentEntityStorageSchema\onEntityTypeDelete(), SqlContentEntityStorageSchema\onEntityTypeUpdate(), SqlContentEntityStorageSchema\onFieldStorageDefinitionDelete(), DbLogController\overview(), Roles\preRender(), TestDrupal6SqlBase\query(), ForumIndexStorage\read(), CommentStatistics\read(), EntitySchemaTest\refreshServices(), DatabaseLockBackend\release(), DatabaseLockBackend\releaseAll(), TermStorage\resetWeights(), NodeStorage\revisionIds(), SqlContentEntityStorage\save(), MigrateSqlIdMapTest\saveMap(), TestSqlBase\setDatabase(), TestDrupal6SqlBase\setDatabase(), MigrateNodeTest\setUp(), EntitySchemaTest\setUp(), EntityBundleFieldTest\setUp(), EntityDefinitionUpdateTest\setUp(), CommentStatisticsUnitTest\setUp(), MigrateSqlIdMapTest\setUp(), ViewsEntitySchemaSubscriberIntegrationTest\setUp(), FileStorage\spaceUsed(), EntityDefinitionUpdateTest\testBaseFieldCreateDeleteWithExistingEntities(), EntityDefinitionUpdateTest\testBaseFieldCreateUpdateDeleteWithoutData(), EntityDefinitionUpdateTest\testBundleFieldCreateDeleteWithExistingEntities(), EntityDefinitionUpdateTest\testBundleFieldCreateUpdateDeleteWithoutData(), CacheTest\testCacheContextIntegration(), EntityDefinitionUpdateTest\testCreateFieldAndIndexOnSharedTable(), FieldCrudTest\testCreateFieldCustomStorage(), EntityDefinitionUpdateTest\testCreateIndexUsingEntityStorageSchemaWithData(), DrupalTest\testDatabase(), UpdatePathTestBaseTest\testDatabaseLoaded(), MigrateDateFormatTest\testDateFormats(), MigrateSqlIdMapTest\testDestroy(), StyleTableTest\testEmptyColumn(), EntityDefinitionUpdateTest\testEntityIndexCreateDeleteWithoutData(), EntityDefinitionUpdateTest\testEntityIndexCreateWithData(), EntitySchemaTest\testEntitySchemaUpdate(), EntityDefinitionUpdateTest\testEntityTypeUpdateWithoutData(), MigrateFileTest\testFiles(), BasicSyntaxTest\testGetFullQualifiedTableName(), MigrateSqlIdMapTest\testGetQualifiedMapTablePrefix(), MigrateMenuTest\testMenu(), EntityDefinitionUpdateTest\testNewEntityType(), EntityDefinitionUpdateTest\testSingleActionCalls(), MenuTreeSerializationTitleTest\testUpdate(), MigrateUrlAliasTest\testUrlAlias(), Vid\titleQuery(), DbLogController\topLogMessages(), ErrorTestController\triggerPDOException(), ForumIndexStorage\update(), CommentStatistics\update(), SqlContentEntityStorageSchema\updateDedicatedTableSchema(), ForumIndexStorage\updateIndex(), NodeSearch\updateIndex(), UserStorage\updateLastAccessTimestamp(), UserStorage\updateLastLoginTimestamp(), SqlContentEntityStorageSchema\updateSharedTableSchema(), TermStorage\updateTermHierarchy(), NodeStorage\updateType(), NodeStorage\userRevisionIds(), NodeGrantDatabaseStorage\write(), and NodeGrantDatabaseStorage\writeDefault().

static destination ( )
static

Returns the redirect destination helper.

Returns
The redirect destination helper.

Referenced by CommonTestController\destination(), EntityFileTest\doImport(), RedirectDestination\get(), Migration\getDestinationPlugin(), Row\getDestinationProperty(), Links\getLinks(), Row\hasDestinationProperty(), hook_user_login(), SystemCompactLink\preRenderCompactLink(), Row\removeDestinationProperty(), RedirectDestination\set(), Row\setDestinationProperty(), and EntityFileTest\setUp().

Here is the caller graph for this function:

static entityDefinitionUpdateManager ( )
static

Returns the entity definition update manager.

Returns
The entity definition update manager.

Referenced by FieldModuleUninstallValidatorTest\assertModuleInstallUninstall(), FieldModuleUninstallValidatorTest\setUp(), EntityDefinitionUpdateTest\setUp(), ViewsEntitySchemaSubscriberIntegrationTest\setUp(), EntityDefinitionUpdateTest\testBaseFieldCreateDeleteWithExistingEntities(), EntityDefinitionUpdateTest\testBaseFieldCreateUpdateDeleteWithoutData(), EntityDefinitionUpdateTest\testBaseFieldDeleteWithExistingData(), EntityDefinitionUpdateTest\testBaseFieldUpdateWithExistingData(), EntityDefinitionUpdateTest\testBundleFieldCreateDeleteWithExistingEntities(), EntityDefinitionUpdateTest\testBundleFieldCreateUpdateDeleteWithoutData(), EntityDefinitionUpdateTest\testBundleFieldDeleteWithExistingData(), EntityDefinitionUpdateTest\testBundleFieldUpdateWithExistingData(), EntityDefinitionUpdateTest\testCreateFieldAndIndexOnSharedTable(), EntityDefinitionUpdateTest\testCreateIndexUsingEntityStorageSchemaWithData(), EntityDefinitionUpdateTest\testEntityIndexCreateDeleteWithoutData(), EntityDefinitionUpdateTest\testEntityIndexCreateWithData(), EntityDefinitionUpdateTest\testEntityTypeSchemaUpdateAndBaseFieldCreateWithoutData(), EntityDefinitionUpdateTest\testEntityTypeSchemaUpdateAndRevisionableBaseFieldCreateWithoutData(), EntityDefinitionUpdateTest\testEntityTypeUpdateWithData(), EntityDefinitionUpdateTest\testEntityTypeUpdateWithoutData(), EntityDefinitionUpdateTest\testLongNameFieldIndexes(), EntityDefinitionUpdateTest\testNoUpdates(), EntityDefinitionUpdateTest\testSingleActionCalls(), FieldModuleUninstallValidatorTest\testUninstallingModule(), ViewsEntitySchemaSubscriberIntegrationTest\testVariousTableUpdates(), and ViewsEntitySchemaSubscriberIntegrationTest\testVariousTableUpdatesForRevisionView().

Here is the caller graph for this function:

static entityManager ( )
static

Retrieves the entity manager service.

Returns
The entity manager service.
Deprecated:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use ::entityTypeManager() instead in most cases. If the needed method is not on , see the deprecated to find the correct interface or service.

Referenced by UuidResolver\__construct(), FieldTranslationSynchronizer\__construct(), FieldModuleUninstallValidator\__construct(), FieldUiRouteEnhancer\__construct(), EntityRouteProviderSubscriber\__construct(), ContentTranslationOverviewAccess\__construct(), ContentUninstallValidator\__construct(), EntityDefinitionUpdateManager\__construct(), FieldUiPermissions\__construct(), FilterPermissions\__construct(), ContentLanguageSettingsForm\__construct(), NodePreviewAccessCheck\__construct(), NodeTypeForm\__construct(), ContentEntityForm\__construct(), FieldConfigDeleteForm\__construct(), NodeAddAccessCheck\__construct(), HtmlEntityFormController\__construct(), TaxonomyPermissions\__construct(), FormModeAccessCheck\__construct(), ViewModeAccessCheck\__construct(), RssPluginBase\__construct(), Overview\__construct(), EntityNormalizer\__construct(), DefaultSelectionDeriver\__construct(), FieldUiLocalAction\__construct(), EntityFormBuilder\__construct(), UserAuth\__construct(), EmptySource\__construct(), ContentTranslationManager\__construct(), EntityCreateAccessCheck\__construct(), Fid\__construct(), Iid\__construct(), QueryFactory\__construct(), EntityResolverManager\__construct(), ContentTranslationUpdatesManager\__construct(), BundleConfigImportValidate\__construct(), TermBreadcrumbBuilder\__construct(), BreakLockForm\__construct(), UserRequestSubscriber\__construct(), EntityViewController\__construct(), ContentTranslationPermissions\__construct(), EntityController\__construct(), DefaultHtmlRouteProvider\__construct(), ContentTranslationManageAccessCheck\__construct(), MenuParentFormSelector\__construct(), EntityDeriver\__construct(), FieldUiLocalTask\__construct(), EditorFileReference\__construct(), EntityLabel\__construct(), EntityDisplayModeFormBase\__construct(), Entity\__construct(), ContentEntityStorageBase\__construct(), MigrateDestinationPluginManager\__construct(), NodePreviewForm\__construct(), RelationLinkManager\__construct(), UserMultipleCancelConfirm\__construct(), ConfigSingleExportForm\__construct(), DrupalSqlBase\__construct(), StringFormatter\__construct(), Bundle\__construct(), ContentEntityNormalizer\__construct(), MenuLinkContentDeriver\__construct(), ViewsEntityArgumentValidator\__construct(), EntityOperations\__construct(), EntityConverter\__construct(), ForumBreadcrumbBuilderBase\__construct(), Tables\__construct(), CommentStatistics\__construct(), EntityContentBase\__construct(), Block\__construct(), AdminNegotiator\__construct(), ViewsEntityRow\__construct(), FieldConfigListBuilder\__construct(), FieldStorageConfigListBuilder\__construct(), EntityFieldRenderer\__construct(), CommentController\__construct(), BasicAuth\__construct(), FieldConfigStorage\__construct(), CommentTypeForm\__construct(), CommentAdminOverview\__construct(), ViewsSelection\__construct(), CommentLinkBuilder\__construct(), CommentTypeDeleteForm\__construct(), ViewsMenuLink\__construct(), ConfigTranslationFieldListBuilder\__construct(), ModulesUninstallConfirmForm\__construct(), FieldStorageConfigStorage\__construct(), BookManager\__construct(), EntityViewsData\__construct(), EntityRow\__construct(), BulkForm\__construct(), FieldStorageAddForm\__construct(), EntityViewBuilder\__construct(), CommentLazyBuilders\__construct(), ConfigEntityMapper\__construct(), LanguageNegotiationContentEntity\__construct(), MenuLinkContent\__construct(), DefaultSelection\__construct(), BlockContentBlock\__construct(), DbLogController\__construct(), ViewsEntitySchemaSubscriber\__construct(), UserSearch\__construct(), CommentManager\__construct(), ConfigManager\__construct(), SqlContentEntityStorageSchema\__construct(), WizardPluginBase\__construct(), CommentDefaultFormatter\__construct(), ForumManager\__construct(), Field\__construct(), ConfigSingleImportForm\__construct(), NodeSearch\__construct(), NodePreviewAccessCheck\access(), ContentTranslationOverviewAccess\access(), NodeAddAccessCheck\access(), EntityCreateAccessCheck\access(), FormModeAccessCheck\access(), ViewModeAccessCheck\access(), ContentTranslationManageAccessCheck\access(), FieldItemList\access(), Field\access(), FieldConfigEditForm\actions(), CommentForm\actions(), NodeController\add(), CommentManager\addBodyField(), ShortcutController\addForm(), TaxonomyController\addForm(), MenuController\addLink(), NodeController\addPage(), ShortcutSetController\addShortcutLinkInline(), TaxonomyIndexTid\adminSummary(), ViewsUIController\ajaxOperation(), FieldUiLocalTask\alterLocalTasks(), AdminNegotiator\applies(), EntityConverter\applies(), AdminPathConfigEntityConverter\applies(), EntityDefinitionUpdateManager\applyUpdates(), CreateTest\assertCreateEntityWithoutProperPermissions(), EntityUUIDTest\assertCRUD(), EntityApiTest\assertCRUD(), EntityFieldDefaultValueTest\assertDefaultValues(), FieldTestBase\assertFieldValues(), FieldUnitTestBase\assertFieldValues(), ManageDisplayTest\assertNodeViewTextHelper(), CreateTest\assertReadEntityIdFromHeaderAndDb(), MigrateNodeTest\assertRevision(), ContentTranslationSettingsTest\assertSettings(), MigrateExecutable\attemptMemoryReclaim(), UserAuth\authenticate(), BasicAuth\authenticate(), ViewsUIController\autocompleteTag(), BlockAddController\blockAddConfigureForm(), BlockContentBlock\blockForm(), BookManager\bookLinkTranslate(), BookController\bookRender(), TermBreadcrumbBuilder\build(), ForumBreadcrumbBuilderBase\build(), BlockContentBlock\build(), CommentLinkBuilder\buildCommentedEntityLinks(), FeedViewBuilder\buildComponents(), ViewsSelection\buildConfigurationForm(), DefaultSelection\buildConfigurationForm(), DefaultSelection\buildEntityQuery(), Node\buildFilters(), EntityDisplayModeAddForm\buildForm(), Overview\buildForm(), ContentLanguageSettingsForm\buildForm(), EditorImageDialog\buildForm(), NodePreviewForm\buildForm(), ConfigSingleExportForm\buildForm(), ModulesUninstallConfirmForm\buildForm(), ConfigSingleImportForm\buildForm(), BookManager\buildItems(), UserName\buildOptionsForm(), Entity\buildOptionsForm(), EntityRow\buildOptionsForm(), RssPluginBase\buildOptionsForm_summary_options(), AggregatorController\buildPageList(), EmptySource\calculateDependencies(), ViewMode\calculateDependencies(), EntityDisplayModeBase\calculateDependencies(), RssPluginBase\calculateDependencies(), User\calculateDependencies(), Bundle\calculateDependencies(), RdfMapping\calculateDependencies(), DrupalSqlBase\calculateDependencies(), Entity\calculateDependencies(), ContentLanguageSettings\calculateDependencies(), EntityRow\calculateDependencies(), FieldStorageConfig\calculateDependencies(), EntityReferenceItem\calculateDependencies(), EntityReferenceItem\calculateStorageDependencies(), ConfigManager\callOnDependencyRemoval(), ForumManager\checkNodeType(), EntityValidationTest\checkValidation(), ContentEntityStorageBase\cleanIds(), EntityFormDisplay\collectRenderDisplay(), EntityViewDisplay\collectRenderDisplays(), CommentController\commentPermalink(), CommentController\commentPermalinkTitle(), ContactController\contactPersonalPage(), ContactController\contactSitePage(), ContentTranslationPermissions\contentPermissions(), EntityConverter\convert(), AdminPathConfigEntityConverter\convert(), Entity\create(), BookTest\createBookNode(), ContentTranslationTestBase\createEntity(), MigrateDestinationPluginManager\createInstance(), DefaultSelection\createNewEntity(), EntityCacheTagsTestBase\createReferenceTestEntities(), ViewTestData\createTestViews(), EntityReferenceFieldItemList\defaultValuesFormSubmit(), SqlContentEntityStorageSchema\deleteSharedTableSchema(), FileEntityNormalizer\denormalize(), ContentEntityNormalizer\denormalize(), EntityDefinitionUpdateManager\doEntityUpdate(), EntityDefinitionUpdateManager\doFieldUpdate(), EntityController\doGetEntity(), SqlContentEntityStorage\doSaveFieldItems(), EntityTranslationTest\doTestEntityLanguageMethods(), EntityFieldTest\doTestIntrospection(), CommentTranslationUITest\doTestPublishedStatus(), EntityFieldTest\doTestReadWrite(), WebTestBase\drupalGetNodeByTitle(), ContentTranslationTestBase\enableTranslation(), EntityReferenceFieldTranslatedReferenceViewTest\enableTranslation(), FieldUiRouteEnhancer\enhance(), UserSearch\execute(), AggregatorController\feedAdd(), field_purge_batch(), field_purge_field_storage(), FieldStorageAddForm\fieldNameExists(), FieldUiPermissions\fieldPermissions(), EditorController\filterXss(), ConfigManager\findConfigEntityDependentsAsEntities(), ConfigSingleExportForm\findConfiguration(), ConfigManager\findMissingContentDependencies(), CommentManager\forbiddenMessage(), TermForm\form(), FieldConfigEditForm\form(), NodeTypeForm\form(), CommentTypeForm\form(), ViewEditForm\form(), MessageForm\form(), ImageWidget\formElement(), EntityDisplayModeController\formModeTypeSelection(), ForumForm\forumParentSelect(), QueryFactory\get(), QueryFactory\getAggregate(), User\getAnonymousUser(), Views\getApplicableViews(), ConfigFieldMapper\getBaseRouteParameters(), EntityType\getBundleConfigDependency(), FieldStorageConfig\getBundles(), QueryPluginBase\getCacheContexts(), CachePluginBase\getCacheTags(), EntityDefinitionUpdateManager\getChangeList(), EntityDefinitionUpdateManager\getChangeSummary(), ForumManager\getChildren(), LanguageNegotiationContentEntity\getContentEntityPaths(), DefaultSelectionDeriver\getDerivativeDefinitions(), FieldUiLocalAction\getDerivativeDefinitions(), FieldUiLocalTask\getDerivativeDefinitions(), ViewsEntityArgumentValidator\getDerivativeDefinitions(), EntityDeriver\getDerivativeDefinitions(), ViewsEntityRow\getDerivativeDefinitions(), BreakLockForm\getDescription(), EntityFormDisplayEditForm\getDisplayModeOptions(), EntityViewDisplayEditForm\getDisplayModeOptions(), EntityFormDisplayEditForm\getDisplayModes(), EntityViewDisplayEditForm\getDisplayModes(), EntityDisplayFormBase\getDisplays(), ImageFormatterBase\getEntitiesToView(), EntityReferenceFormatterBase\getEntitiesToView(), BlockContentBlock\getEntity(), EntityForm\getEntityFromRouteMatch(), Migration\getEntityManager(), ImageItem\getEntityManager(), EntityRevisionTest\getEntityRevisionDestination(), SqlContentEntityStorageSchema\getEntitySchema(), SqlContentEntityStorageSchema\getEntitySchemaData(), QueryPluginBase\getEntityTableInfo(), EntityDefinitionUpdateManager\getEntityType(), ConfigManager\getEntityTypeIdByName(), DefaultHtmlRouteProvider\getEntityTypeIdKeyType(), EntityResolverManager\getEntityTypes(), FieldStorageAddForm\getExistingFieldLabels(), FieldStorageAddForm\getExistingFieldStorageOptions(), EntityDisplayFormBase\getExtraFields(), EntityDisplayFormBase\getFieldDefinitions(), EntityDisplayBase\getFieldDefinitions(), CommentManager\getFields(), EntityDefinitionUpdateManager\getFieldStorageDefinition(), Field\getFieldStorageDefinition(), EntityViewsData\getFieldStorageDefinitions(), SqlContentEntityStorage\getFieldStorageDefinitions(), Editor\getFilterFormat(), EntityFormBuilder\getForm(), HtmlEntityFormController\getFormObject(), EntityTypeManager\getFormObject(), ForumManager\getIndex(), FieldUI\getOverviewRouteInfo(), EntityFormDisplayEditForm\getOverviewUrl(), EntityViewDisplayEditForm\getOverviewUrl(), MigrateTaxonomyTermTest\getParentIDs(), ForumManager\getParents(), EntityDataDefinition\getPropertyDefinitions(), ConfigSingleImportForm\getQuestion(), TermSelection\getReferenceableEntities(), DefaultSelection\getReferenceableEntities(), CommentController\getReplyForm(), EntityReferenceItem\getSettableOptions(), ShortcutTestBase\getShortcutInformation(), ShortcutSet\getShortcuts(), SqlContentEntityStorage\getStorageSchema(), ContentTranslationManager\getSupportedEntityTypes(), SqlContentEntityStorage\getTableMapping(), Tables\getTableMapping(), EntityUrlTest\getTestToUrl(), EntityUrlTest\getTestUrlInfo(), ForumManager\getTopics(), ContentTranslationTestBase\getTranslatePermission(), ContentTranslationManager\getTranslationHandler(), ConfigFieldMapper\getTypeLabel(), ConfigEntityMapper\getTypeLabel(), ConfigEntityMapper\getTypeName(), LinkWidget\getUriAsDisplayableString(), CommentViewsData\getViewsData(), EntityViewsData\getViewsData(), hook_config_translation_info(), hook_contextual_links_alter(), hook_entity_field_storage_info(), hook_field_views_data_alter(), hook_field_views_data_views_data_alter(), hook_shortcut_default_set(), NodeSearch\indexNode(), EntityDisplayModeFormBase\init(), Bundle\init(), EntityRow\init(), EntityDisplayBase\init(), ContentEntityForm\initFormLangcodes(), ConfigImporterFieldPurger\initializeSandbox(), EntityDefinitionUpdateManager\installEntityType(), EntityDefinitionUpdateManager\installFieldStorageDefinition(), ContentTranslationManager\isEnabled(), ContentTranslationManager\isSupported(), EntityViewBuilder\isViewModeCacheable(), EntityTestController\listEntitiesAlphabetically(), EntityTestController\listEntitiesEmpty(), EntityListController\listing(), FieldConfigListController\listing(), BlockListController\listing(), ConfigTranslationListController\listing(), EntityTestController\listReferencingEntities(), FieldConfigListBuilder\load(), Entity\load(), BookManager\loadBooks(), ContentLanguageSettings\loadByEntityTypeBundle(), FieldConfigStorage\loadByProperties(), ConfigManager\loadConfigEntityByName(), ContentTranslationManager\loadContentLanguageSettings(), Sql\loadEntities(), BulkForm\loadEntityFromBulkFormKey(), Entity\loadMultiple(), ViewsMenuLink\loadView(), QuickEditController\metadata(), ContentTranslationUpdatesManager\onConfigImporterImport(), BundleConfigImportValidate\onConfigImporterValidate(), EntityReferenceItem\onDependencyRemoval(), EntityRouteProviderSubscriber\onDynamicRouteEvent(), SqlContentEntityStorageSchema\onEntityTypeCreate(), SqlContentEntityStorageSchema\onEntityTypeDelete(), SqlContentEntityStorageSchema\onFieldStorageDefinitionDelete(), AggregatorController\pageLast(), TaxonomyPermissions\permissions(), CommentTestBase\postComment(), ConfigEntityBundleBase\postDelete(), Feed\postDelete(), FieldConfig\postDelete(), FieldStorageConfig\postDelete(), Node\postSave(), RdfMapping\postSave(), EntityViewDisplay\postSave(), FieldStorageConfig\postSave(), ShortcutSet\preDelete(), EntityDisplayModeBase\preDelete(), EntityFormModeAddForm\prepareEntity(), EntityDisplayModeAddForm\prepareEntity(), EntityReferenceFormatterBase\prepareView(), EntityLabel\preRender(), EntityDisplayModeBase\preSave(), FieldConfig\preSave(), FieldStorageConfig\preSaveNew(), FieldStorageConfig\preSaveUpdated(), InstallUninstallTest\preUninstallForum(), EditorFileReference\process(), EntityReferenceFieldItemList\processDefaultValue(), EntityFormDisplay\processForm(), EntityUser\processStubRow(), EntityFile\processStubRow(), EntityViewsData\processViewsDataForEntityReference(), EntityReferenceItem\propertyDefinitions(), TranslationLanguageRenderer\query(), Sql\query(), BookManager\recurseTableOfContents(), EntityReferenceFieldItemList\referencedEntities(), EntityUnitTestBase\refreshServices(), EntityUnitTestBase\reloadEntity(), UpdateApiEntityDefinitionUpdateTest\reloadEntity(), Block\remove(), EntityOperations\render(), Entity\render(), QuickEditController\renderField(), CommentLazyBuilders\renderForm(), NodeNewComments\renderLink(), DateTimeFieldTest\renderTestEntity(), ViewsUIController\reportFields(), SqlContentEntityStorageSchema\requiresEntityDataMigration(), EntityDefinitionUpdateManager\requiresEntityStorageSchemaChanges(), EntityDefinitionUpdateManager\requiresFieldStorageSchemaChanges(), UuidResolver\resolve(), NodeController\revisionPageTitle(), NodeController\revisionShow(), ForumForm\save(), EntityDisplayModeFormBase\save(), NodeTypeForm\save(), EntityReferenceItem\schema(), EntityCacheTagsTestBase\selectViewMode(), ContentTranslationManager\setEnabled(), EntityForm\setEntityManager(), TestEntityForm\setEntityManager(), ConfigTranslationFieldListBuilder\setMapperDefinition(), StringFormatter\settingsForm(), EntityReferenceEntityFormatter\settingsForm(), EntityReferenceEntityFormatter\settingsSummary(), StringFormatter\settingsSummary(), ConfigEntityListMultilingualTest\setUp(), ConfigEntityListTest\setUp(), FieldModuleUninstallValidatorTest\setUp(), MigrateCommentStubTest\setUp(), PrivateFileOnTranslatedEntityTest\setUp(), UuidResolverTest\setUp(), NodeTestBase\setUp(), FileNormalizeTest\setUp(), EntityConverterTest\setUp(), CommentUserNameTest\setUp(), ConfigFieldDefinitionTest\setUp(), EntityUrlTest\setUp(), FieldDataCountTest\setUp(), ContentEntityNormalizerTest\setUp(), EntityNormalizerTest\setUp(), EntityFormBuilderTest\setUp(), ResponsiveImageStyleConfigEntityUnitTest\setUp(), ContentEntityChangedTest\setUp(), EntityLinkTest\setUp(), EntityOperationsUnitTest\setUp(), FieldUnitTestBase\setUp(), EntityContentBaseTest\setUp(), ConfigFieldMapperTest\setUp(), UpdateApiEntityDefinitionUpdateTest\setUp(), EntityDefinitionUpdateTest\setUp(), BulkFormAccessTest\setUp(), CommentNonNodeTest\setUp(), BlockConfigEntityUnitTest\setUp(), RdfMappingConfigEntityUnitTest\setUp(), RowEntityRenderersTest\setUp(), FieldStorageConfigEntityUnitTest\setUp(), EntityDisplayModeBaseUnitTest\setUp(), EntityResolverManagerTest\setUp(), NormalizerTestBase\setUp(), EntityManagerTest\setUp(), BookManagerTest\setUp(), EditorConfigEntityUnitTest\setUp(), BlockFormTest\setUp(), SqlContentEntityStorageSchemaTest\setUp(), ContentLanguageSettingsUnitTest\setUp(), FieldTest\setUp(), EntityTest\setUp(), CommentLinkBuilderTest\setUp(), FieldConfigEntityUnitTest\setUp(), ViewsEntitySchemaSubscriberIntegrationTest\setUp(), MailHandlerTest\setUp(), EntityViewsDataTest\setUp(), EntityUnitTest\setUp(), ImageStyleTest\setUp(), ConfigEntityBaseUnitTest\setUp(), SqlContentEntityStorageTest\setUp(), ContentEntityBaseUnitTest\setUp(), EntityAdapterUnitTest\setUp(), ConfigEntityStorageTest\setUp(), EntityTest\setupEntityManager(), SqlContentEntityStorageTest\setUpEntityStorage(), EntityResolverManagerTest\setupEntityTypes(), EntityViewsDataTest\setupFieldStorageDefinition(), KeyValueEntityStorageTest\setUpKeyValueEntityStorage(), FieldTest\setupLanguageRenderer(), SqlContentEntityStorageSchemaTest\setUpStorageSchema(), EntityReferenceItem\storageSettingsForm(), FieldConfigDeleteForm\submitForm(), UserMultipleCancelConfirm\submitForm(), FieldStorageAddForm\submitForm(), EntityDisplayFormBase\submitForm(), Entity\submitOptionsForm(), EntityRow\summaryTitle(), EntityUnitTest\testAccess(), FieldTest\testAccess(), ContentEntityBaseUnitTest\testAccess(), UserPermissionsTest\testAdministratorRole(), EntityConverterTest\testApplies(), EntityDefinitionUpdateTest\testBaseFieldCreateDeleteWithExistingEntities(), EntityDefinitionUpdateTest\testBaseFieldDeleteWithExistingData(), EntityDefinitionUpdateTest\testBaseFieldUpdateWithExistingData(), EntityViewsDataTest\testBaseTableFields(), BlockContentTypeTest\testBlockContentTypeCreation(), BlockContentTypeTest\testBlockContentTypeEditing(), BookTest\testBookOutline(), EntityDefinitionUpdateTest\testBundleFieldCreateDeleteWithExistingEntities(), ConfigFieldDefinitionTest\testBundleFieldDefinition(), EntityDefinitionUpdateTest\testBundleFieldDeleteWithExistingData(), EntityDefinitionUpdateTest\testBundleFieldUpdateWithExistingData(), ResponsiveImageStyleConfigEntityUnitTest\testCalculateDependencies(), FieldStorageConfigEntityUnitTest\testCalculateDependencies(), RdfMappingConfigEntityUnitTest\testCalculateDependencies(), EntityDisplayModeBaseUnitTest\testCalculateDependencies(), ContentLanguageSettingsUnitTest\testCalculateDependencies(), EditorConfigEntityUnitTest\testCalculateDependencies(), FieldConfigEntityUnitTest\testCalculateDependencies(), FieldConfigEntityUnitTest\testCalculateDependenciesIncorrectBundle(), FieldTest\testCalculateDependenciesWithBaseField(), FieldTest\testCalculateDependenciesWithConfiguredField(), RdfMappingConfigEntityUnitTest\testCalculateDependenciesWithEntityBundle(), EntityTest\testCalculateDependenciesWithEntityId(), EntityTest\testCalculateDependenciesWithUuid(), EntitySchemaTest\testCleanUpStorageDefinition(), EntityManagerTest\testClearCachedDefinitions(), FieldTest\testClickSortWithBaseField(), FieldTest\testClickSortWithConfiguredField(), FieldTest\testClickSortWithOutConfiguredColumn(), CommentPagerTest\testCommentNewPageIndicator(), CommentTypeTest\testCommentTypeCreation(), ViewStorageTest\testConfigurationEntityCRUD(), EntityTypeConstraintsTest\testConstraintDefinition(), EntityTypeConstraintsTest\testConstraintValidation(), FieldTest\testConstruct(), EntityReferenceItemTest\testContentEntityReferenceItemWithStringId(), ContentTranslationOperationsTest\testContentTranslationOverviewAccess(), EntityConverterTest\testConvert(), EntityConverterTest\testConvertWithInvalidEntityType(), EntityUnitTest\testCreate(), SqlContentEntityStorageTest\testCreate(), FieldCrudTest\testCreateFieldCustomStorage(), EntityDefinitionUpdateTest\testCreateIndexUsingEntityStorageSchemaWithData(), UpdatePathRC1TestBaseTest\testDatabaseLoaded(), EntityViewsDataTest\testDataTableFields(), MigrateDateFormatTest\testDateFormats(), DateTimeFieldTest\testDatelistWidget(), DrupalDateTimeTest\testDateTimezone(), DateTimeFieldTest\testDefaultValue(), EntityFieldDefaultValueTest\testDefaultValueCallback(), FieldTest\testDefineOptionsWithDefaultFormatterOnFieldDefinition(), FieldTest\testDefineOptionsWithDefaultFormatterOnFieldType(), FieldTest\testDefineOptionsWithNoOptions(), EntityUnitTest\testDelete(), ViewsEntitySchemaSubscriberIntegrationTest\testDeleteEntityType(), MenuLinkTreeTest\testDeleteLinksInMenu(), EntityNormalizerTest\testDenormalizeWithInvalidBundle(), EntityNormalizerTest\testDenormalizeWithNoBundle(), EntityNormalizerTest\testDenormalizeWithValidBundle(), ConfigInstallTest\testDependencyChecking(), FilterAPITest\testDependencyRemoval(), EditorImageDialogTest\testEditorImageDialog(), KernelTestBaseTest\testEnableModulesFixedList(), EntityTypedDataDefinitionTest\testEntities(), EntityReferenceItemTest\testEntityAutoCreate(), FieldAttachOtherTest\testEntityFormDisplayExtractFormValues(), ConfigEntityMapperTest\testEntityGetterAndSetter(), EntityDefinitionUpdateTest\testEntityIndexCreateDeleteWithoutData(), EntityDefinitionUpdateTest\testEntityIndexCreateWithData(), DrupalTest\testEntityManager(), EntityReferenceFieldDefaultValueTest\testEntityReferenceDefaultValue(), EntitySchemaTest\testEntitySchemaUpdate(), EntityDefinitionUpdateTest\testEntityTypeUpdateWithData(), EntityDefinitionUpdateTest\testEntityTypeUpdateWithoutData(), EntityWithUriCacheTagsTestBase\testEntityUri(), ConfigSingleImportExportTest\testExport(), TranslationTest\testFieldAccess(), EntityReferenceAdminTest\testFieldAdminHandler(), FieldAttachStorageTest\testFieldAttachLoadMultiple(), FieldTranslationSqlStorageTest\testFieldSqlStorage(), ConfigFieldDefinitionTest\testFieldStorageDefinition(), FileFieldFormatterAccessTest\testFileAccessHandler(), MigrateFileTest\testFiles(), ManageDisplayTest\testFormatterUI(), NodeAccessPagerTest\testForumPager(), EntityDisplayTest\testGetDisplayModeOptions(), EntityFormBuilderTest\testGetForm(), ConfigEntityMapperTest\testGetOverviewRouteParameters(), FieldConfigEntityUnitTest\testGetType(), ConfigEntityMapperTest\testGetTypeLabel(), ConfigEntityMapperTest\testGetTypeName(), BlockFormTest\testGetUniqueMachineName(), SqlContentEntityStorageTest\testHasData(), BookTest\testHookNodeLoadAccess(), ConfigSingleImportExportTest\testImport(), EntityContentBaseTest\testImport(), FieldImportDeleteTest\testImportDelete(), FieldImportDeleteUninstallUiTest\testImportDeleteUninstall(), FieldImportDeleteUninstallTest\testImportDeleteUninstall(), EntityContentBaseTest\testImportEntityLoadFailure(), ConfigInstallProfileOverrideTest\testInstallProfileConfigOverwrite(), ContentEntityBaseUnitTest\testIsTranslatable(), EntityUnitTest\testLabel(), EntityUrlTest\testLinkTemplates(), ConfigEntityListTest\testList(), EntityUnitTest\testLoad(), ContentLanguageSettingsUnitTest\testLoadByEntityTypeBundle(), EntityUnitTest\testLoadMultiple(), SqlContentEntityStorageTest\testLoadMultipleNoPersistentCache(), SqlContentEntityStorageTest\testLoadMultiplePersistentCacheMiss(), EntityDefinitionUpdateTest\testLongNameFieldIndexes(), ConfigEntityQueryTest\testLookupKeys(), FileManagedFileElementTest\testManagedFileRemoved(), ConfigTranslationOverviewTest\testMapperListPage(), LinksTest\testMenuLinkReparenting(), MenuUninstallTest\testMenuUninstall(), MessageEntityTest\testMessageMethods(), EntitySchemaTest\testModifyingTranslatableColumnSchema(), SearchMultilingualTest\testMultilingualSearchFilter(), SearchConfigSettingsFormTest\testMultipleSearchPages(), EntityDefinitionUpdateTest\testNewEntityType(), NodeAccessLanguageTest\testNodeAccess(), NodeAccessLanguageTest\testNodeAccessPrivate(), NodeCreationTest\testNodeAddWithoutContentTypes(), NodeFormButtonsTest\testNodeFormButtons(), NodeTemplateSuggestionsTest\testNodeThemeHookSuggestions(), LanguageConfigurationElementTest\testNodeTypeDelete(), SqlContentEntityStorageTest\testOnEntityTypeCreate(), ViewEditTest\testOtherOptions(), PageEditTest\testPageEdit(), ConfigEntityListTest\testPager(), LocalTasksTest\testPluginLocalTask(), FeedProcessorPluginTest\testPostProcess(), FieldTest\testPrepareItemsByDelta(), FilePrivateTest\testPrivateFile(), FileFieldWidgetTest\testPrivateFileComment(), PrivateFileOnTranslatedEntityTest\testPrivateLanguageFile(), FieldTest\testQueryWithGroupByForBaseField(), FieldTest\testQueryWithGroupByForConfigField(), EntityCacheTagsTestBase\testReferencedEntity(), EntityOperationsUnitTest\testRenderWithDestination(), EntityOperationsUnitTest\testRenderWithoutDestination(), EntityTest\testRenderWithUuid(), SqlContentEntityStorageSchemaTest\testRequiresEntityDataMigration(), UserPasswordResetTest\testResetImpersonation(), UuidResolverTest\testResolveNoEntity(), UuidResolverTest\testResolveNotInInterface(), UuidResolverTest\testResolveNoUuid(), UuidResolverTest\testResolveWithEntity(), ResponsiveImageFieldUiTest\testResponsiveImageFormatterUI(), EntityRevisionTranslationTest\testRevertRevisionAfterTranslation(), EntityViewsDataTest\testRevisionTableFields(), UserRoleAdminTest\testRoleAdministration(), EntityUnitTest\testSave(), ConfigImporterTest\testSecondaryDeletedDeleteeSecond(), ConfigImporterTest\testSecondaryUpdateDeletedDeleteeFirst(), ConfigImporterTest\testSecondaryUpdateDeletedDeleterFirst(), ConfigImporterTest\testSecondaryWritePrimaryFirst(), ConfigImporterTest\testSecondaryWriteSecondaryFirst(), ConfigFieldMapperTest\testSetEntity(), ContentTranslationSettingsTest\testSettingsUI(), ContentTranslationMetadataFieldsTest\testSetTranslatable(), ShortcutSetsTest\testShortcutSetAssign(), ShortcutSetsTest\testShortcutSetEdit(), ShortcutSetsTest\testShortcutSetUnassign(), ContentTranslationMetadataFieldsTest\testSkipUntranslatable(), ConfigEntityBaseUnitTest\testSort(), ConfigEntityUnitTest\testStorageMethods(), EntityReferenceIntegrationTest\testSupportedEntityTypesAndWidgets(), TaxonomyTermIndentationTest\testTermIndentation(), MigrateTermNodeRevisionTest\testTermRevisionNode(), TimestampFormatterTest\testTimestampFormatter(), DateTimeTest\testTimeZoneHandling(), FieldConfigEntityUnitTest\testToArray(), TranslationTest\testTranslatableFieldSaveLoad(), NodeTranslationUITest\testTranslationRendering(), ModuleHandlerTest\testUninstallContentDependency(), FieldModuleUninstallValidatorTest\testUninstallingModule(), UninstallTest\testUninstallPage(), NodeCreationTest\testUnpublishedNodeCreation(), EntityUrlTest\testUrl(), MigrateUrlAliasTest\testUrlAlias(), UserCancelTest\testUserAnonymize(), UserCancelTest\testUserBlockUnpublish(), UserCancelTest\testUserDelete(), UserSaveTest\testUserImport(), QuickEditLoadingTest\testUserWithPermission(), UserRegistrationTest\testUuidFormState(), LoadTest\testUuidValues(), TermValidationTest\testValidation(), FieldWidgetConstraintValidatorTest\testValidation(), ViewsEntitySchemaSubscriberIntegrationTest\testVariousTableUpdatesForRevisionView(), ManageDisplayTest\testViewModeCustom(), FieldApiDataTest\testViewsData(), ManageDisplayTest\testWidgetUI(), NodeViewController\title(), NodePreviewController\title(), Fid\titleQuery(), Iid\titleQuery(), FormTestController\twoFormInstances(), EntityDefinitionUpdateManager\uninstallEntityType(), EntityDefinitionUpdateManager\uninstallFieldStorageDefinition(), ViewExecutable\unserialize(), CommentStatistics\update(), EntitySchemaTest\updateEntityType(), EntityDefinitionUpdateManager\updateEntityType(), ConfigSingleExportForm\updateExport(), EntityDefinitionUpdateManager\updateFieldStorageDefinition(), NodeSearch\updateIndex(), MenuLinkContent\updateLink(), FieldConfig\urlRouteParameters(), ReferenceAccessConstraintValidator\validate(), FieldModuleUninstallValidator\validate(), ContentUninstallValidator\validate(), Entity\validateArgument(), ImageItem\validateDefaultImageForm(), ConfigSingleImportForm\validateForm(), FileWidget\validateMultipleCount(), DefaultSelection\validateReferenceableEntities(), EntityViewController\view(), FieldItemBase\view(), FieldItemList\view(), EntityDisplayModeController\viewModeTypeSelection(), EntityViewBuilder\viewMultiple(), views_post_update_update_cacheability_metadata(), TypeLinkManager\writeCache(), and RelationLinkManager\writeCache().

static entityQuery (   $entity_type,
  $conjunction = 'AND' 
)
static

Returns the entity query object for this entity type.

Parameters
string$entity_typeThe entity type (for example, node) for which the query object should be returned.
string$conjunction(optional) Either 'AND' if all conditions in the query need to apply, or 'OR' if any of them is sufficient. Defaults to 'AND'.
Returns
The query object that can query the given entity type.

Referenced by NodeAccessTestAutoBubblingController\__construct(), ConfigTestForm\__construct(), BookUninstallValidator\__construct(), AccountForm\__construct(), Fid\__construct(), SearchPageFormBase\__construct(), EntityComment\__construct(), BookManager\bookTreeCheckAccess(), BookNavigationBlock\build(), EntityFormDisplay\collectRenderDisplay(), EntityViewDisplay\collectRenderDisplays(), EntityTranslationTest\doTestMultilingualProperties(), DedupeEntityTest\entityQueryExpects(), SearchPageFormBase\exists(), Views\getDisabledViews(), Views\getEnabledViews(), ItemStorage\getItemCount(), BookUninstallValidator\hasBookNodes(), hook_entity_field_storage_info(), hook_user_cancel(), NodeAccessTestAutoBubblingController\latest(), ConfigTranslationFieldListBuilder\load(), ItemStorage\loadAll(), ItemStorage\loadByFeed(), ConfigEntityBundleBase\loadDisplays(), Feed\postDelete(), ShortcutSet\preDelete(), InstallUninstallTest\preUninstallForum(), EntityReferenceFieldItemList\processDefaultValue(), DedupeEntityTest\setUp(), ConfigEntityStorageTest\setUp(), ForumTest\testAddOrphanTopic(), EntityReferenceAutoCreateTest\testAutoCreate(), EntityQueryTest\testBaseFieldMultipleColumns(), EntityQueryTest\testCaseSensitivity(), CommentLanguageTest\testCommentLanguage(), KernelTestBaseTest\testEnableModulesInstallContainer(), ContentEntityNullStorageTest\testEntityQuery(), DrupalTest\testEntityQuery(), EntityCrudHookTest\testEntityRollback(), EntityQueryTest\testForwardRevisions(), FieldImportCreateTest\testImportCreateDefault(), EntityQueryTest\testMetaData(), PageEditTest\testPageEdit(), BulkDeleteTest\testPurgeField(), ConfigEntityStorageTest\testSaveChangedUuid(), ConfigEntityStorageTest\testSaveInsert(), ConfigEntityStorageTest\testSaveMismatch(), ConfigEntityStorageTest\testSaveNoMismatch(), ConfigEntityStorageTest\testSaveRename(), ConfigEntityStorageTest\testSaveUpdate(), EfqTest\testTaxonomyEfq(), VocabularyCrudTest\testTaxonomyVocabularyDeleteWithTerms(), Fid\titleQuery(), and SearchPageFormBase\validateForm().

static entityQueryAggregate (   $entity_type,
  $conjunction = 'AND' 
)
static

Returns the entity query aggregate object for this entity type.

Parameters
string$entity_typeThe entity type (for example, node) for which the query object should be returned.
string$conjunction(optional) Either 'AND' if all conditions in the query need to apply, or 'OR' if any of them is sufficient. Defaults to 'AND'.
Returns
The query object that can query the given entity type.

Referenced by ContentEntityNullStorageTest\testEntityQuery(), and DrupalTest\testEntityQueryAggregate().

Here is the caller graph for this function:

static entityTypeManager ( )
static

Retrieves the entity type manager.

Returns
The entity type manager.

Referenced by EntityRepository\__construct(), EntityTypeRepository\__construct(), ValidReferenceConstraintValidator\__construct(), EntityBundleListener\__construct(), EntityTypeListener\__construct(), FieldDefinitionListener\__construct(), FieldStorageDefinitionListener\__construct(), EntityDisplayRepository\__construct(), EntityTypeBundleInfo\__construct(), EntityFieldManager\__construct(), EntityFieldManager\buildFieldStorageDefinitions(), callback_batch_operation(), EntityTypeBundleInfo\getAllBundleInfo(), EntityDisplayRepository\getAllDisplayModesByEntityType(), EntityDisplayRepository\getDisplayModeOptionsByBundle(), EntityTypeRepository\getEntityTypeFromClass(), EntityTypeRepository\getEntityTypeLabels(), EntityFieldManager\getFieldMap(), EntityRepository\loadEntityByConfigTarget(), EntityRepository\loadEntityByUuid(), EntityBundleListener\onBundleCreate(), EntityBundleListener\onBundleDelete(), EntityTypeListener\onEntityTypeCreate(), EntityTypeListener\onEntityTypeDelete(), EntityTypeListener\onEntityTypeUpdate(), FieldDefinitionListener\onFieldDefinitionCreate(), FieldDefinitionListener\onFieldDefinitionDelete(), FieldDefinitionListener\onFieldDefinitionUpdate(), FieldStorageDefinitionListener\onFieldStorageDefinitionCreate(), FieldStorageDefinitionListener\onFieldStorageDefinitionDelete(), FieldStorageDefinitionListener\onFieldStorageDefinitionUpdate(), EntityForm\setEntityTypeManager(), TestEntityForm\setEntityTypeManager(), EntityTypeRepositoryTest\setUp(), EntityRepositoryTest\setUp(), EntityManagerTest\setUp(), FieldDefinitionListenerTest\setUp(), EntityTypeManagerTest\setUp(), EntityTypeBundleInfoTest\setUp(), EntityFieldManagerTest\setUp(), FieldDefinitionListenerTest\setUpEntityManager(), EntityTypeRepositoryTest\setUpEntityTypeDefinitions(), EntityTypeBundleInfoTest\setUpEntityTypeDefinitions(), EntityFieldManagerTest\setUpEntityTypeDefinitions(), EntityFieldManagerTest\setUpEntityWithFieldDefinition(), EntityManagerTest\testClearCachedDefinitions(), DrupalTest\testEntityTypeManager(), EntityTypeManagerTest\testGetAccessControlHandler(), EntityTypeManagerTest\testGetDefinition(), EntityTypeManagerTest\testGetDefinitionInvalidException(), EntityTypeManagerTest\testGetFormObject(), EntityTypeManagerTest\testGetFormObjectInvalidOperation(), EntityTypeManagerTest\testGetHandler(), EntityTypeManagerTest\testGetHandlerMissingHandler(), EntityTypeManagerTest\testGetListBuilder(), EntityTypeManagerTest\testGetRouteProviders(), EntityTypeManagerTest\testGetStorage(), EntityTypeManagerTest\testGetViewBuilder(), EntityTypeManagerTest\testHasHandler(), FieldDefinitionListenerTest\testOnFieldDefinitionCreateExistingField(), FieldDefinitionListenerTest\testOnFieldDefinitionCreateNewField(), FieldDefinitionListenerTest\testOnFieldDefinitionDeleteMultipleBundles(), FieldDefinitionListenerTest\testOnFieldDefinitionDeleteSingleBundles(), FieldDefinitionListenerTest\testOnFieldDefinitionUpdate(), and EntityTypeManagerTest\testProcessDefinition().

static flood ( )
static

Returns the flood instance.

Returns

Referenced by UserLoginForm\__construct(), BasicAuth\__construct(), MessageForm\__construct(), BasicAuth\authenticate(), MessageForm\save(), FloodTest\testCleanUp(), DrupalTest\testFlood(), UserLoginForm\validateAuthentication(), UserLoginForm\validateFinal(), and MessageForm\validateForm().

Here is the caller graph for this function:

static formBuilder ( )
static

Returns the form builder service.

Returns
The form builder.

Referenced by EntityFormBuilder\__construct(), AdminController\__construct(), FormController\__construct(), AjaxFormBlock\__construct(), RedirectFormBlock\__construct(), BlockListBuilder\__construct(), SystemController\__construct(), DbLogController\__construct(), PathController\adminOverview(), AdminController\adminPage(), AjaxFormBlock\build(), RedirectFormBlock\build(), UserLoginBlock\build(), AjaxTestController\dialog(), DisplayPluginBase\elementPreRender(), QuickEditController\fieldForm(), DraggableListBuilder\formBuilder(), FormController\getContentResult(), EntityFormBuilder\getForm(), DbLogController\overview(), BlockListBuilder\render(), ActionListBuilder\render(), ExposedFormPluginBase\renderExposedForm(), UserController\resetPass(), EntityFormBuilderTest\setUp(), FormTestBase\setUp(), FormTestBase\simulateFormSubmission(), FormTestController\storageLegacyHandler(), ExternalFormUrlTest\testActionUrlBehavior(), FormBuilderTest\testBuildFormWithClassString(), FormBuilderTest\testBuildFormWithObject(), FormBuilderTest\testBuildFormWithString(), FormBuilderTest\testBuildFormWithTriggeringElement(), FormCacheTest\testCacheToken(), FormBuilderTest\testChildAccessInheritance(), SystemConfigFormTestBase\testConfigForm(), ConfigTranslationFormTest\testConfigTranslationFormAlter(), ValidationTest\testCustomRequiredError(), FormTest\testDisabledMarkup(), FieldAttachOtherTest\testEntityFormDisplayExtractFormValues(), FormBuilderTest\testExceededFileSize(), DrupalTest\testFormBuilder(), FormBuilderTest\testFormTokenCacheability(), FormBuilderTest\testGetCache(), EntityFormBuilderTest\testGetForm(), FormBuilderTest\testGetFormIdWithBaseForm(), FormBuilderTest\testGetFormIdWithClassName(), FormBuilderTest\testGetFormIdWithInjectedClassName(), FormBuilderTest\testGetFormIdWithObject(), FormBuilderTest\testGetFormIdWithString(), FormBuilderTest\testGetFormWithClassString(), FormBuilderTest\testGetFormWithObject(), FormBuilderTest\testGetFormWithString(), FormBuilderTest\testInvalidToken(), FormCacheTest\testNoCacheToken(), FormTest\testNumber(), BatchTestController\testProgrammatic(), ProgrammaticTest\testProgrammaticAccessBypass(), FormBuilderTest\testRebuildForm(), FormBuilderTest\testRebuildFormOnGetRequest(), FormTest\testRequiredCheckboxesRadio(), FormTest\testRequiredFields(), FormTest\testSelect(), TableTest\testThemeTableTitle(), FieldWidgetConstraintValidatorTest\testValidation(), FormBuilderTest\testValueCallableIsSafe(), SystemController\themesPage(), and LocaleController\translatePage().

static getContainer ( )
static

Returns the currently active global container.

Returns
|null
Exceptions
\Drupal\Core\DependencyInjection\ContainerNotInitializedException

Referenced by PageRenderTest\assertPageRenderHookExceptions(), ContainerFactory\createInstance(), FormatterPluginManager\createInstance(), MigratePluginManager\createInstance(), WidgetPluginManager\createInstance(), DisplayPluginBase\elementPreRender(), Cache\getBins(), hook_comment_links_alter(), hook_node_links_alter(), ToolbarCacheContextsTest\installExtraModules(), ConfigOtherModuleTest\installModule(), ConfigInstallTest\installModules(), RouteProvider\lazyLoadItself(), EntityUnitTestBase\refreshServices(), WebTestBase\resetAll(), BrowserTestBase\resetAll(), KernelTestBaseTest\setUp(), EntityFileTest\setUp(), UpdatePathTestBase\setUp(), FieldPluginBaseTest\setUpUrlIntegrationServices(), SimpletestResultsForm\submitForm(), RendererBubblingTest\testBubblingWithPrerender(), SelectPagerDefaultTest\testElementNumbers(), DrupalTest\testGetContainerException(), EntityFileTest\testGetDirectory(), NodeTypeTest\testNodeTypeDeletion(), NodeOwnerTest\testOwner(), DisplayPageTest\testPageResponses(), KernelTestBaseTest\testRegister(), DrupalTest\testSetContainer(), EntityQueryTest\testSort(), EntityQueryTest\testTableSort(), TableSortExtenderUnitTest\testTableSortInit(), TempStoreDatabaseTest\testUserTempStore(), and ConfigOtherModuleTest\uninstallModule().

Here is the caller graph for this function:

static hasContainer ( )
static

Returns TRUE if the container has been initialized, FALSE otherwise.

Returns
bool
static hasRequest ( )
static

Indicates if there is a currently active request object.

Returns
bool TRUE if there is a currently active request object, FALSE otherwise.

Referenced by ThemeRegistry\__construct().

Here is the caller graph for this function:

static hasService (   $id)
static

Indicates if a service is defined in the container.

Parameters
string$idThe ID of the service to check.
Returns
bool TRUE if the specified service exists, FALSE otherwise.

Referenced by PublicStream\basePath(), FormBuilder\currentUser(), ServiceProviderTest\testServiceProviderRegistration(), ServiceProviderTest\testServiceProviderRegistrationDynamic(), and ServiceProviderWebTest\testServiceProviderRegistrationIntegration().

Here is the caller graph for this function:

static httpClient ( )
static

Returns the default http client.

Returns
A guzzle http client instance.

Referenced by OpmlFeedAdd\__construct(), FileEntityNormalizer\__construct(), UpdateFetcher\__construct(), FileEntityNormalizer\denormalize(), UpdateFetcher\fetchProjectData(), FileNormalizeTest\setUp(), OpmlFeedAdd\submitForm(), and DrupalTest\testHttpClient().

Here is the caller graph for this function:

static isConfigSyncing ( )
static

Gets the syncing state.

Returns
bool Returns TRUE is syncing flag set.
static keyValue (   $collection)
static

Returns a key/value storage collection.

Parameters
string$collectionName of the key/value collection to return.
Returns

Referenced by EntityAutocompleteController\__construct(), UpdateRegistry\__construct(), Migration\clearInterruptionResult(), drupal_get_installed_schema_version(), drupal_set_installed_schema_version(), UpdateRegistry\filterOutInvokedUpdatesByModule(), EntityAutocompleteTest\getAutocompleteResult(), Migration\getHighWaterStorage(), UpdateRegistry\getPendingUpdateFunctions(), EntityAutocompleteController\handleAutocomplete(), SqlContentEntityStorageSchema\installedStorageSchema(), Migration\interruptMigration(), EntityAutocomplete\processEntityAutocomplete(), UpdateRegistry\registerInvokedUpdates(), Migration\setStatus(), SharedTempStoreTest\setUp(), PrivateTempStoreTest\setUp(), EntitySchemaTest\testCleanUpStorageDefinition(), SqlContentEntityStorageSchemaColumnTest\testColumnUpdate(), UpdatePathRC1TestBaseTest\testDatabaseLoaded(), PrivateTempStoreTest\testDelete(), SharedTempStoreTest\testDelete(), SharedTempStoreTest\testDeleteIfOwner(), PrivateTempStoreTest\testDeleteLocking(), PrivateTempStoreTest\testDeleteWithNoLockAvailable(), SharedTempStoreTest\testDeleteWithNoLockAvailable(), SharedTempStoreTest\testGet(), PrivateTempStoreTest\testGet(), SharedTempStoreTest\testGetIfOwner(), PrivateTempStoreTest\testGetMetadata(), SharedTempStoreTest\testGetMetadata(), DrupalTest\testKeyValue(), UpdatePostUpdateFailingTest\testPostUpdate(), UpdatePostUpdateTest\testPostUpdate(), InstallTest\testRequiredModuleSchemaVersions(), EntityAutocompleteTest\testSelectionSettingsHandling(), PrivateTempStoreTest\testSet(), SharedTempStoreTest\testSet(), SharedTempStoreTest\testSetIfNotExists(), SharedTempStoreTest\testSetIfOwner(), SharedTempStoreTest\testSetIfOwnerNoObject(), SharedTempStoreTest\testSetIfOwnerWhenNotExists(), PrivateTempStoreTest\testSetWithNoLockAvailable(), SharedTempStoreTest\testSetWithNoLockAvailable(), InstallTest\testUninstallPostUpdateFunctions(), and BlockContextMappingUpdateTest\testUpdateHookN().

Here is the caller graph for this function:

static keyValueExpirable (   $collection)
static

Returns an expirable key value store collection.

Parameters
string$collectionThe name of the collection holding key and value pairs.
Returns
An expirable key value store collection.

Referenced by ModulesListConfirmForm\__construct(), ModulesUninstallForm\__construct(), ModulesUninstallConfirmForm\__construct(), ModulesListForm\__construct(), ModulesListConfirmForm\buildForm(), ModulesUninstallConfirmForm\buildForm(), ModulesListConfirmForm\submitForm(), ModulesUninstallConfirmForm\submitForm(), ModulesUninstallForm\submitForm(), ModulesListForm\submitForm(), and DrupalTest\testKeyValueExpirable().

Here is the caller graph for this function:

static l (   $text,
Url  $url 
)
static

Renders a link with a given link text and Url object.

This method is a convenience wrapper for the link generator service's generate() method. For detailed documentation, see ::generate().

Parameters
string$textThe link text for the anchor tag.
\Drupal\Core\Url$urlThe URL object used for the link.
Returns
A GeneratedLink object containing a link to the given route and parameters and bubbleable metadata.
See Also
::generate()
Deprecated:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use instead. Example:
$link = Link::fromTextAndUrl($text, $url);

Referenced by PathController\adminOverview(), BookController\bookRender(), UserLoginBlock\build(), Rearrange\buildForm(), UpdateManagerUpdate\buildForm(), FieldStorageConfigListBuilder\buildRow(), FormErrorHandler\displayErrorMessages(), DbLogController\eventDetails(), ViewListBuilder\getDisplayPaths(), ViewEditForm\getFormBucket(), HelpController\helpLinksAsList(), hook_requirements(), DbLogController\overview(), SystemCompactLink\preRenderCompactLink(), ViewsUIController\reportFields(), ViewsUIController\reportPlugins(), FeedForm\save(), ForumForm\save(), UpdateTestBase\standardTests(), UpdateContribTest\testHookUpdateStatusAlter(), SearchRankingTest\testHTMLRankings(), ViewsIntegrationTest\testIntegration(), DrupalTest\testL(), CommentLinksTest\testLinkApprove(), CommentLinksTest\testLinkReply(), LinkFieldTest\testLinkTitle(), UrlTest\testLinkXSS(), UpdateCoreTest\testMajorUpdateAvailable(), NodeRevisionsUiTest\testNodeRevisionDoubleEscapeFix(), UpdateContribTest\testNoReleasesAvailable(), UpdateCoreTest\testNormalUpdateAvailable(), StatisticsReportsTest\testPopularContentBlock(), UpdateCoreTest\testSecurityUpdateAvailable(), TermIndexTest\testTaxonomyTermHierarchyBreadcrumbs(), UpdateContribTest\testUpdateBaseThemeSecurityUpdate(), UpdateContribTest\testUpdateBrokenFetchURL(), UpdateContribTest\testUpdateContribBasic(), UpdateContribTest\testUpdateContribOrder(), and UpdateContribTest\testUpdateShowDisabledThemes().

Here is the caller graph for this function:

static languageManager ( )
static

Returns the language manager service.

Returns
The language manager.

Referenced by LanguagesCacheContext\__construct(), LanguageConverter\__construct(), LanguageFormBase\__construct(), NegotiationBrowserForm\__construct(), CurrentLanguageContext\__construct(), ExportForm\__construct(), NegotiationUrlForm\__construct(), EntityRepository\__construct(), UserPasswordForm\__construct(), LanguageFilter\__construct(), ContentTranslationManageAccessCheck\__construct(), LanguageTestController\__construct(), NodeRevisionRevertTranslationForm\__construct(), ConfigTranslationOverviewAccess\__construct(), AccountForm\__construct(), PluralFormula\__construct(), Language\__construct(), DrupalDateTime\__construct(), EntityOperations\__construct(), NodeGrantDatabaseStorage\__construct(), LanguageBlock\__construct(), LanguageFormatter\__construct(), ImportForm\__construct(), RendererBase\__construct(), TranslateFormBase\__construct(), BlockContentForm\__construct(), LanguageRequestSubscriber\__construct(), EntityDisplayRepository\__construct(), MailHandler\__construct(), KeyValueEntityStorage\__construct(), LanguageListBuilder\__construct(), ActiveLinkResponseFilter\__construct(), ConfigTranslationDeleteForm\__construct(), MessageForm\__construct(), ConfigSubscriber\__construct(), EntityTypeBundleInfo\__construct(), EntityRow\__construct(), AssetResolver\__construct(), BulkForm\__construct(), EntityViewBuilder\__construct(), PathProcessorLanguage\__construct(), MenuLinkContent\__construct(), CKEditor\__construct(), ConfigTranslationFormBase\__construct(), NegotiationConfigureForm\__construct(), ConfigTranslationController\__construct(), FinishResponseSubscriber\__construct(), LanguageNegotiator\__construct(), ContentTranslationHandler\__construct(), DateFormatter\__construct(), LocaleLookup\__construct(), EmailAction\__construct(), LocaleTranslation\__construct(), ViewsData\__construct(), AliasManager\__construct(), ConfigEntityStorage\__construct(), LocaleConfigManager\__construct(), ConfigNamesMapper\__construct(), Token\__construct(), Field\__construct(), EntityFieldManager\__construct(), NodeSearch\__construct(), SqlContentEntityStorage\__construct(), ConfigTranslationFormAccess\access(), ContentTranslationManageAccessCheck\access(), LanguageConfigFactoryOverride\addCollections(), LocaleUpdateBase\addLanguage(), PathController\adminOverview(), NodeGrantDatabaseStorage\alterQuery(), LanguageItem\applyDefaultValue(), LocaleConfigSubscriberTest\assertConfigOverride(), LocaleConfigSubscriberTest\assertNoConfigOverride(), LanguageBlock\blockAccess(), BookManager\bookTreeAllData(), LanguageBlock\build(), Language\buildConfigurationForm(), TranslateEditForm\buildForm(), ExportForm\buildForm(), NegotiationBrowserForm\buildForm(), NegotiationUrlForm\buildForm(), ImportForm\buildForm(), PathFormBase\buildForm(), NegotiationConfigureForm\buildForm(), NodeListBuilder\buildHeader(), DisplayPluginBase\buildOptionsForm(), LanguageListBuilder\buildRow(), LanguageConfigurationTest\checkConfigurableLanguageWeight(), LanguageConverter\convert(), LanguageAddForm\copyFormValuesToEntity(), BlockStorageUnitTest\createTests(), DateFormatter\dateFormat(), LocaleConfigSubscriberTest\deleteLanguageOverride(), LocaleConfigManager\deleteLanguageTranslations(), LocaleConfigManager\deleteTranslationOverride(), BookManager\doBookTreeBuild(), KeyValueEntityStorage\doCreate(), ConfigEntityStorage\doCreate(), EntityTranslationTest\doTestEntityLanguageMethods(), ContentTranslationUITestBase\doTestOutdatedStatus(), ContentTranslationHandler\entityFormAlter(), ContentTranslationHandler\entityFormSourceChange(), EmailAction\execute(), LanguageAddForm\form(), DateFormatter\format(), AliasManager\getAliasByPath(), EntityTypeBundleInfo\getAllBundleInfo(), EntityDisplayRepository\getAllDisplayModesByEntityType(), User\getAllowedConfigurableLanguageCodes(), LanguageItem\getAllowedLanguageCodes(), EntityFieldManager\getBaseFieldDefinitions(), BulkForm\getCacheContexts(), LanguagesCacheContext\getContext(), LanguageBlock\getDerivativeDefinitions(), MenuLinkContent\getDescription(), EntityFieldManager\getExtraFields(), EntityFieldManager\getFieldDefinitions(), EntityFieldManager\getFieldStorageDefinitions(), Token\getInfo(), AssetResolver\getJsAssets(), CKEditor\getJSSettings(), LanguageNegotiationUser\getLangcode(), LanguageNegotiationSelected\getLangcode(), LanguageNegotiationUI\getLangcode(), LanguageNegotiationBrowser\getLangcode(), LanguageNegotiationUrl\getLangcode(), LanguageNegotiationUrlFallback\getLangcode(), LanguageNegotiationContentEntity\getLangcode(), LanguageNegotiationSession\getLanguageSwitchLinks(), LanguageNegotiationContentEntity\getLanguageSwitchLinks(), LanguageNegotiationUrl\getLanguageSwitchLinks(), DrupalTranslator\getLocale(), LanguageNegotiator\getNegotiationMethodInstance(), PluralFormula\getNumberOfPlurals(), AliasManager\getPathByAlias(), UserSession\getPreferredAdminLangcode(), UserSession\getPreferredLangcode(), NodeRevisionRevertTranslationForm\getQuestion(), CurrentLanguageContext\getRuntimeContexts(), LocaleTranslation\getStringTranslation(), MenuLinkContent\getTitle(), EntityRepository\getTranslationFromContext(), Language\getValue(), LocaleConfigManager\hasTranslation(), hook_language_switch_links_alter(), hook_search_preprocess(), hook_theme_suggestions_alter(), hook_tokens_alter(), hook_views_query_substitutions(), LanguageNegotiator\initializeType(), LanguageNegotiator\initLanguageManager(), PathProcessorLanguage\initProcessors(), WizardPluginBase\instantiateView(), LanguageNegotiator\isNegotiationMethodEnabled(), PluginBase\listLanguages(), LanguageNegotiator\negotiateLanguage(), LanguageConfigFactoryOverride\onConfigDelete(), LanguageConfigFactoryOverride\onConfigRename(), ConfigSubscriber\onConfigSave(), LanguageConfigFactoryOverride\onConfigSave(), LanguageRequestSubscriber\onKernelRequestLanguage(), FinishResponseSubscriber\onRespond(), ActiveLinkResponseFilter\onResponse(), DisplayPluginBase\optionsSummary(), LanguageNegotiationSession\persist(), ConfigurableLanguage\postDelete(), ConfigurableLanguage\postSave(), ConfigurableLanguage\preSave(), LanguageNegotiationUrl\processInbound(), MachineName\processMachineName(), LanguageNegotiationSession\processOutbound(), PathProcessorLanguage\processOutbound(), LanguageNegotiationUrl\processOutbound(), LanguageNegotiator\purgeConfiguration(), TranslationLanguageRenderer\query(), LanguageFilter\query(), EntityOperations\query(), BulkForm\query(), PluginBase\queryLanguageSubstitutions(), LanguageField\render(), Node\renderLink(), LocaleLookup\resolveCacheMiss(), LanguageNegotiator\saveConfiguration(), LocaleConfigSubscriberTest\saveLanguageOverride(), LocaleConfigManager\saveTranslationOverride(), NodeSearch\searchFormAlter(), MailHandler\sendMailMessages(), LanguageNegotiationMethodBase\setLanguageManager(), LanguageNegotiationUrlTest\setUp(), LanguageTestBase\setUp(), LocaleTranslationTest\setUp(), EntityLinkTest\setUp(), EntityOperationsUnitTest\setUp(), EntityRepositoryTest\setUp(), TwigTransTest\setUp(), RowEntityRenderersTest\setUp(), LocaleConfigSubscriberTest\setUp(), ViewsDataTest\setUp(), FieldTest\setUp(), AliasManagerTest\setUp(), MailHandlerTest\setUp(), AssetResolverTest\setUp(), LocaleLookupTest\setUp(), EntityTypeBundleInfoTest\setUp(), TokenTest\setUp(), EntityUnitTest\setUp(), ConfigEntityBaseUnitTest\setUp(), SqlContentEntityStorageTest\setUp(), ContentEntityBaseUnitTest\setUp(), EntityAdapterUnitTest\setUp(), ConfigEntityStorageTest\setUp(), EntityFieldManagerTest\setUp(), AliasManagerTest\setUpCurrentLanguage(), SqlContentEntityStorageTest\setUpEntityStorage(), KeyValueEntityStorageTest\setUpKeyValueEntityStorage(), ContentTranslationTestBase\setupLanguages(), ExportForm\submitForm(), ConfigTranslationDeleteForm\submitForm(), UserPasswordForm\submitForm(), LanguageListBuilder\submitForm(), ImportForm\submitForm(), ConfigTranslationFormBase\submitForm(), Language\summary(), FieldTest\testAccess(), BlockContentTypeTest\testBlockContentTypeCreation(), FieldTest\testCalculateDependenciesWithBaseField(), FieldTest\testCalculateDependenciesWithConfiguredField(), MailTest\testCancelMessage(), LanguageFallbackTest\testCandidates(), FieldTest\testClickSortWithBaseField(), FieldTest\testClickSortWithConfiguredField(), FieldTest\testClickSortWithOutConfiguredColumn(), CommentTokenReplaceTest\testCommentTokenReplacement(), CommentTypeTest\testCommentTypeCreation(), LanguageConditionTest\testConditions(), ConfigLanguageOverrideTest\testConfigLanguageOverride(), LanguageConfigOverrideImportTest\testConfigOverrideImport(), LocaleConfigTranslationTest\testConfigTranslation(), LocaleConfigTranslationImportTest\testConfigTranslationImport(), LocaleImportFunctionalTest\testConfigtranslationImportingPoFile(), LocaleConfigTranslationImportTest\testConfigTranslationModuleInstall(), AdminPathEntityConverterLanguageTest\testConfigUsingCurrentLanguage(), FieldTest\testConstruct(), ConfigTranslationUiTest\testContactConfigEntityTranslation(), LocaleContentTest\testContentTypeDirLang(), LocaleContentTest\testContentTypeLanguageConfiguration(), LocaleImportFunctionalTest\testCreatedLanguageTranslation(), ConfigEntityStorageTest\testCreateWithCurrentLanguage(), ConfigEntityStorageTest\testCreateWithExplicitLanguage(), KeyValueContentEntityStorageTest\testCRUD(), ConfigEntityTest\testCRUD(), ConfigTranslationUiTest\testDateFormatTranslation(), LanguageConfigurationElementTest\testDefaultLangcode(), FieldTest\testDefineOptionsWithDefaultFormatterOnFieldDefinition(), FieldTest\testDefineOptionsWithDefaultFormatterOnFieldType(), FieldTest\testDefineOptionsWithNoOptions(), LanguageDependencyInjectionTest\testDependencyInjectedNewDefaultLanguage(), LanguageDependencyInjectionTest\testDependencyInjectedNewLanguage(), LocaleTranslationTest\testDestruct(), LanguageNegotiationUrlTest\testDomain(), LanguageUrlRewritingTest\testDomainNameNegotiationPort(), FileTokenReplaceTest\testFileTokenReplacement(), ForumUninstallTest\testForumUninstallWithField(), MailTest\testFromAndReplyToHeader(), EntityFieldManagerTest\testGetExtraFields(), TokenTest\testGetInfo(), AliasManagerTest\testGetPathByAliasLangcode(), AliasManagerTest\testGetPathByAliasNoMatch(), EntityRepositoryTest\testGetTranslationFromContext(), SqlContentEntityStorageTest\testHasData(), ContentEntityBaseUnitTest\testIsTranslatable(), ContentEntityBaseUnitTest\testIsTranslatableForMonolingual(), DrupalTest\testLanguageManager(), LanguageSelectElementTest\testLanguageSelectElementOptions(), LanguageSelectorTranslatableTest\testLanguageStringSelector(), SqlContentEntityStorageTest\testLoadMultipleNoPersistentCache(), SqlContentEntityStorageTest\testLoadMultiplePersistentCacheMiss(), LocaleConfigTranslationImportTest\testLocaleRemovalAndConfigOverrideDelete(), LocaleConfigTranslationImportTest\testLocaleRemovalAndConfigOverridePreserve(), NodeLanguageTest\testNativeLanguageField(), ConfigImporterTest\testNew(), NumericFormatPluralTest\testNumericFormatPlural(), SqlContentEntityStorageTest\testOnEntityTypeCreate(), LanguageNegotiationUrlTest\testPathPrefix(), ConfigInstallWebTest\testPreExistingConfigInstall(), FieldTest\testPrepareItemsByDelta(), PathProcessorTest\testProcessInbound(), FieldTest\testQueryWithGroupByForBaseField(), FieldTest\testQueryWithGroupByForConfigField(), LocaleLookupTest\testResolveCacheMissNoTranslation(), LocaleLookupTest\testResolveCacheMissWithFallback(), LocaleLookupTest\testResolveCacheMissWithoutFallback(), LocaleLookupTest\testResolveCacheMissWithPersist(), UserRoleAdminTest\testRoleAdministration(), ConfigLanguageOverrideWebTest\testSiteNameTranslation(), ContactSitewideTest\testSiteWideContact(), ConfigTranslationUiTest\testSourceValueDuplicateSave(), StatisticsTokenReplaceTest\testStatisticsTokenReplacement(), TokenReplaceTest\testTaxonomyTokenReplacement(), TermTranslationTest\testTranslatedBreadcrumbs(), NodeTranslationUITest\testTranslationRendering(), TwigTransTest\testTwigTransTags(), LanguageUILanguageNegotiationTest\testUILanguageNegotiation(), UpdatePathRC1TestBaseFilledTest\testUpdatedSite(), UpdatePathTestBaseFilledTest\testUpdatedSite(), UserInstallTest\testUserInstall(), UserTokenReplaceTest\testUserTokenReplacement(), TranslateFormBase\translateFilters(), LanguageTestController\typeLinkActiveClass(), LocaleConfigManager\updateConfigTranslations(), LanguageNegotiator\updateConfiguration(), LanguageAddForm\validateCustom(), NegotiationUrlForm\validateForm(), LanguageAddForm\validatePredefined(), FilterCrudTest\verifyTextFormat(), FormatterBase\view(), LanguageFormatter\viewValue(), and NodeGrantDatabaseStorage\write().

static logger (   $channel)
static

Returns a channel logger object.

Parameters
string$channelThe name of the channel. Can be any string, but the general practice is to use the name of the subsystem calling this.
Returns
The logger for this channel.

Referenced by ExceptionLoggingSubscriber\__construct(), UserPasswordResetForm\__construct(), FilterNull\__construct(), ImageToolkitOperationManager\__construct(), ImageEffectBase\__construct(), ImageToolkitOperationBase\__construct(), ResourceRoutes\__construct(), SearchController\__construct(), DefaultExceptionHtmlSubscriber\__construct(), ResourceBase\__construct(), DefaultFetcher\__construct(), ImageStyleDownloadController\__construct(), FileSystem\__construct(), CommentTypeForm\__construct(), MailHandler\__construct(), FormValidator\__construct(), ItemsImporter\__construct(), ImageToolkitBase\__construct(), CommentTypeDeleteForm\__construct(), ThemeInstaller\__construct(), Cron\__construct(), EmailAction\__construct(), FormCache\__construct(), CronAccessCheck\access(), ResourceRoutes\alterRoutes(), ImageToolkitBase\apply(), ScaleAndCropImageEffect\applyEffect(), CropImageEffect\applyEffect(), DesaturateImageEffect\applyEffect(), ResizeImageEffect\applyEffect(), ScaleImageEffect\applyEffect(), ConvertImageEffect\applyEffect(), RotateImageEffect\applyEffect(), FileSystem\chmod(), ImageStyle\createDerivative(), ImageToolkitOperationManager\createInstance(), EntityResource\delete(), ImageStyleDownloadController\deliver(), MigrateMessage\display(), drupal_xml_parser_create(), Desaturate\execute(), Rotate\execute(), EmailAction\execute(), file_save_htaccess(), file_scan_directory(), file_unmanaged_copy(), file_unmanaged_delete(), ConfigSync\finishBatch(), hook_entity_create(), hook_entity_translation_create(), hook_entity_translation_delete(), hook_entity_translation_insert(), hook_ENTITY_TYPE_create(), hook_ENTITY_TYPE_translation_create(), hook_ENTITY_TYPE_translation_delete(), hook_ENTITY_TYPE_translation_insert(), hook_file_copy(), hook_file_move(), ThemeInstaller\install(), LanguageDeleteForm\logDeletionMessage(), DeleteForm\logDeletionMessage(), MenuDeleteForm\logDeletionMessage(), DefaultExceptionHtmlSubscriber\makeSubrequest(), ExceptionLoggingSubscriber\on403(), ExceptionLoggingSubscriber\on404(), EntityReferenceItem\onDependencyRemoval(), ExceptionLoggingSubscriber\onError(), EntityResource\patch(), FormValidator\performRequiredValidation(), EntityResource\post(), ItemsImporter\refresh(), ThemeManager\render(), Cron\run(), FeedForm\save(), LanguageEditForm\save(), RoleForm\save(), ForumForm\save(), LanguageAddForm\save(), BlockContentTypeForm\save(), RegisterForm\save(), VocabularyForm\save(), TermForm\save(), ContactFormEditForm\save(), CommentTypeForm\save(), BlockContentForm\save(), MenuForm\save(), NodeTypeForm\save(), CommentForm\save(), NodeForm\save(), MailHandler\sendMailMessages(), FormCache\setCache(), Cron\setCronLastTime(), Connection\setLogger(), FileSystemTest\setUp(), FormValidatorTest\setUp(), MailHandlerTest\setUp(), CustomPageExceptionHtmlSubscriberTest\setUp(), DbLogFormInjectionTest\setUp(), FormCacheTest\setUp(), FormTestBase\setUp(), DeleteForm\submitForm(), NegotiationBrowserDeleteForm\submitForm(), VocabularyResetForm\submitForm(), BanDelete\submitForm(), BookAdminEditForm\submitForm(), NodeRevisionRevertForm\submitForm(), OpmlFeedAdd\submitForm(), NodeRevisionDeleteForm\submitForm(), ConfirmDeleteMultiple\submitForm(), UserCancelForm\submitForm(), UserPasswordForm\submitForm(), FileSystemTest\testChmodUnsuccessful(), FormValidatorTest\testElementValidate(), FormValidatorTest\testExecuteValidateHandlers(), FormValidatorTest\testHandleErrorsWithLimitedValidation(), FormValidatorTest\testMustValidate(), FormValidatorTest\testPerformRequiredValidation(), FormValidatorTest\testPreventDuplicateValidation(), FormValidatorTest\testRequiredErrorMessage(), MailHandlerTest\testSendMailMessages(), FormCacheTest\testSetCacheBuildIdMismatch(), FormValidatorTest\testValidateInvalidFormToken(), FormValidatorTest\testValidateValidFormToken(), FormValidatorTest\testValidationComplete(), UserLoginForm\validateFinal(), TranslateEditForm\validateForm(), DisplayTest\validateOptionsForm(), and SearchController\view().

static menuTree ( )
static

Returns the menu tree.

Returns
The menu tree.

Referenced by SystemMenuBlock\__construct(), MenuForm\__construct(), SystemManager\__construct(), SystemMenuBlock\blockForm(), SystemMenuBlock\build(), MenuForm\buildOverviewForm(), AdminTest\getTopLevelMenuLinks(), DisplayPageTest\testMenuLinks(), and DrupalTest\testMenuTree().

Here is the caller graph for this function:

static moduleHandler ( )
static

Returns the module handler.

Returns

Referenced by DefaultsTestPluginManager\__construct(), RequestCloseSubscriber\__construct(), ModuleRouteSubscriber\__construct(), StatisticsSettingsForm\__construct(), TestPluginManager\__construct(), Analyzer\__construct(), FormController\__construct(), PhpTransliteration\__construct(), MigrateTemplateStorage\__construct(), User\__construct(), UpdateManagerUpdate\__construct(), OverviewTerms\__construct(), HookDiscovery\__construct(), TypeLinkManager\__construct(), AccountSettingsForm\__construct(), AliasStorage\__construct(), UserPermissionsForm\__construct(), UserData\__construct(), TypedConfigManager\__construct(), TranslationStatusForm\__construct(), BlockVisibility\__construct(), RelationLinkManager\__construct(), UpdateManagerInstall\__construct(), Permissions\__construct(), BreadcrumbManager\__construct(), LocaleTranslation\__construct(), LibraryDiscoveryParser\__construct(), ContentEntityNormalizer\__construct(), EntityBundleListener\__construct(), LinkGenerator\__construct(), NodeGrantDatabaseStorage\__construct(), ImportForm\__construct(), ThemeInitialization\__construct(), ModulesListConfirmForm\__construct(), ModulesUninstallForm\__construct(), UpdateReady\__construct(), EntityDisplayRepository\__construct(), CommentAdminOverview\__construct(), HelpBlock\__construct(), ThemeSettingsForm\__construct(), Permission\__construct(), ModuleInstaller\__construct(), CronForm\__construct(), QuickEditFieldForm\__construct(), ConfigMapperManager\__construct(), CommentLinkBuilder\__construct(), ConfigTranslationDeleteForm\__construct(), ViewsSelection\__construct(), EntityTypeBundleInfo\__construct(), MenuLinkDefaultForm\__construct(), ThemeManager\__construct(), AssetResolver\__construct(), EntityViewsData\__construct(), CommentLazyBuilders\__construct(), CKEditor\__construct(), DefaultSelection\__construct(), SystemManager\__construct(), DbLogController\__construct(), PermissionHandler\__construct(), UpdateManager\__construct(), UserSearch\__construct(), ThemeInstaller\__construct(), CommentManager\__construct(), Cron\__construct(), AjaxResponseAttachmentsProcessor\__construct(), ModulesListForm\__construct(), DbUpdateController\__construct(), ContextualLinkManager\__construct(), RouteBuilder\__construct(), HtmlResponseAttachmentsProcessor\__construct(), HtmlRenderer\__construct(), ViewsData\__construct(), BreakpointManager\__construct(), FormCache\__construct(), MenuLinkManager\__construct(), DefaultPluginManager\__construct(), CategorizingPluginManager\__construct(), LocalActionManager\__construct(), ConfigurableLanguageManager\__construct(), Token\__construct(), ThemeHandler\__construct(), ConfigSync\__construct(), LocalTaskManager\__construct(), ConfigSingleImportForm\__construct(), EntityFieldManager\__construct(), Registry\__construct(), NodeSearch\__construct(), FormBuilder\__construct(), ConfigImporter\__construct(), ExtensionMimeTypeGuesser\__construct(), NodeGrantDatabaseStorage\access(), PathController\adminOverview(), Sql\alter(), DefaultPluginManager\alterDefinitions(), ModuleRouteSubscriber\alterRoutes(), EntityFormDisplayEditForm\alterSettingsSummary(), EntityViewDisplayEditForm\alterSettingsSummary(), BreadcrumbManager\build(), Registry\build(), ViewExecutable\build(), AjaxResponseAttachmentsProcessor\buildAttachmentsCommands(), LibraryDiscoveryParser\buildByExtension(), CommentLinkBuilder\buildCommentedEntityLinks(), ViewsMenuLinkForm\buildConfigurationForm(), ViewsSelection\buildConfigurationForm(), MenuLinkDefaultForm\buildConfigurationForm(), ViewsBlockBase\buildConfigurationForm(), CKEditor\buildContentsCssJSSetting(), NodeSelection\buildEntityQuery(), EntityFieldManager\buildFieldStorageDefinitions(), DbLogController\buildFilterQuery(), ShortcutSetDeleteForm\buildForm(), UpdateManagerUpdate\buildForm(), ModulesUninstallForm\buildForm(), UpdateManagerInstall\buildForm(), AccountSettingsForm\buildForm(), UserPermissionsForm\buildForm(), UpdateReady\buildForm(), CronForm\buildForm(), PathFormBase\buildForm(), ModulesListForm\buildForm(), WizardPluginBase\buildForm(), ElementInfoManager\buildInfo(), CommentLazyBuilders\buildLinks(), User\buildMigrations(), ModulesListForm\buildModuleList(), HistoryUserTimestamp\buildOptionsForm(), UserData\buildOptionsForm(), Permission\buildOptionsForm(), Page\buildOptionsForm(), HtmlRenderer\buildPageTopAndBottom(), ModulesListForm\buildRow(), EntityDisplayBase\calculateDependencies(), LocaleController\checkTranslation(), EntityFormDisplay\collectRenderDisplay(), EntityViewDisplay\collectRenderDisplays(), EntityTypeManager\createHandlerInstance(), ViewsHandlerManager\createInstance(), ViewTestData\createTestViews(), EntityReferenceItem\defaultStorageSettings(), AliasStorage\delete(), ImageStyleDownloadController\deliver(), FilterFormat\disable(), FileDownloadController\download(), drupal_get_module_schema(), drupal_get_schema_versions(), CommentSelection\entityQueryAlter(), ViewExecutable\execute(), Sql\execute(), field_purge_field(), field_purge_field_storage(), file_create_url(), EntityTypeManager\findDefinitions(), ConfigMapperManager\findDefinitions(), ImageStyle\flush(), BlockContentTypeForm\form(), ConfigTestForm\form(), VocabularyForm\form(), NodeTypeForm\form(), ViewAddForm\form(), CommentTypeForm\form(), WidgetBase\formSingleElement(), LinkGenerator\generate(), Token\generate(), Registry\get(), HelpBlock\getActiveHelp(), EntityTypeBundleInfo\getAllBundleInfo(), EntityDisplayRepository\getAllDisplayModesByEntityType(), StableLibraryOverrideTest\getAllLibraries(), ResolvedLibraryDefinitionsFilesMatchTest\getAllLibraries(), MigrateTemplateStorage\getAllTemplates(), EditorManager\getAttachments(), NodeAccessGrantsCacheContext\getCacheableMetadata(), MenuLinkContentDeleteForm\getCancelUrl(), CommentManager\getCountNewComments(), AssetResolver\getCssAssets(), ViewsData\getData(), ConfigurableLanguageManager\getDefinedLanguageTypesInfo(), InfoHookDecorator\getDefinitions(), HookDiscovery\getDefinitions(), MenuLinkManager\getDefinitions(), ConfigMapperManager\getDiscovery(), ContextualLinkManager\getDiscovery(), BreakpointManager\getDiscovery(), LocalActionManager\getDiscovery(), MenuLinkManager\getDiscovery(), LocalTaskManager\getDiscovery(), UserSession\getDisplayName(), User\getDisplayName(), ViewEditForm\getDisplayTab(), ThemeInitialization\getExtensions(), EntityFieldManager\getExtraFields(), ConfigurableLanguageManager\getFallbackCandidates(), EntityTypeManager\getFormObject(), BreakpointManager\getGroupLabel(), BreakpointManager\getGroupProviders(), EntityDisplayBase\getHighestWeight(), Token\getInfo(), AssetResolver\getJsAssets(), CKEditor\getJSSettings(), CKEditor\getLangcodes(), ConfigurableLanguageManager\getLanguageSwitchLinks(), CountryManager\getList(), LocalTaskManager\getLocalTasks(), Analyzer\getMessages(), SourcePluginBase\getModuleHandler(), HandlerBase\getModuleHandler(), HelpTest\getModuleList(), PermissionHandler\getModuleNames(), OptionsWidgetBase\getOptions(), UpdateManager\getProjects(), NodeSearch\getRankings(), RelationLinkManager\getRelationUri(), RouteBuilder\getRouteDefinitions(), Registry\getRuntime(), TestDiscovery\getTestClasses(), Tour\getTips(), TypeLinkManager\getTypeUri(), NodeViewsData\getViewsData(), PermissionHandler\getYamlDiscovery(), ExtensionMimeTypeGuesser\guess(), HelpController\helpLinksAsList(), HelpController\helpPage(), hook_config_translation_info(), hook_entity_extra_field_info(), hook_menu_links_discovered_alter(), ModuleTestController\hookDynamicLoadingInvoke(), ModuleTestController\hookDynamicLoadingInvokeAll(), NodeSearch\indexNode(), HistoryUserTimestamp\init(), ConfigImporter\initialize(), BlockPluginCollection\initializePlugin(), ThemeInstaller\install(), Cron\invokeCronHandlers(), HtmlRenderer\invokePageAttachmentHooks(), FieldConfig\linkTemplates(), SystemManager\listRequirements(), FormCache\loadCachedFormState(), MailManager\mail(), EntityHandlerBase\moduleHandler(), EntityBundleListener\onBundleCreate(), EntityBundleListener\onBundleDelete(), RequestCloseSubscriber\onTerminate(), DbLogController\overview(), LibraryDiscoveryParser\parseLibraryInfo(), Feed\postDelete(), Registry\postProcessExtension(), Node\preDelete(), Select\preExecute(), ViewExecutable\preExecute(), FormBuilder\prepareForm(), EntityForm\prepareInvokeAll(), TranslationStatusForm\prepareUpdateData(), FieldStorageConfig\preSaveUpdated(), Registry\processExtension(), ConfigImporter\processExtension(), LocaleTranslation\processItem(), BreakpointManager\providerExists(), DefaultPluginManager\providerExists(), Sql\query(), PhpTransliteration\readLanguageOverrides(), DefaultSelection\reAlterQuery(), ThemeHandler\rebuildThemeData(), HistoryUserTimestamp\render(), ThemeManager\render(), ViewEditForm\renderDisplayTop(), QuickEditController\renderField(), NodeViewBuilder\renderLinks(), DbUpdateController\results(), AliasStorage\save(), LanguageAddForm\save(), TestDrupal6SqlBase\setModuleHandler(), HandlerBase\setModuleHandler(), StubSourcePlugin\setModuleHandler(), EntityForm\setModuleHandler(), BlockVisibilityTest\setUp(), HookDiscoveryTest\setUp(), FileNormalizeTest\setUp(), ModuleHandlerTest\setUp(), EntityBundleFieldTest\setUp(), LocaleTranslationProjectsTest\setUp(), ViewsHandlerManagerTest\setUp(), BreadcrumbManagerTest\setUp(), LibraryDiscoveryParserTest\setUp(), ElementInfoManagerTest\setUp(), NormalizerTestBase\setUp(), ViewsDataTest\setUp(), ThemeHandlerTest\setUp(), EntityTypeManagerTest\setUp(), RegistryTest\setUp(), CommentLinkBuilderTest\setUp(), MailManagerTest\setUp(), LinkGeneratorTest\setUp(), AssetResolverTest\setUp(), EntityListBuilderTest\setUp(), EntityViewsDataTest\setUp(), EntityTypeBundleInfoTest\setUp(), TokenTest\setUp(), SqlContentEntityStorageTest\setUp(), FormCacheTest\setUp(), LocalActionManagerTest\setUp(), ConfigEntityStorageTest\setUp(), EntityFieldManagerTest\setUp(), FormTestBase\setUp(), EntityFieldManagerTest\setUpEntityWithFieldDefinition(), KeyValueEntityStorageTest\setUpKeyValueEntityStorage(), MailManagerTest\setUpMailManager(), ViewsDataTest\setupMockedModuleHandler(), SqlContentEntityStorageTest\setUpModuleHandlerNoImplementations(), StatisticsSettingsForm\submitForm(), UpdateReady\submitForm(), ConfigTranslationDeleteForm\submitForm(), UpdateManagerInstall\submitForm(), ImportForm\submitForm(), TranslationStatusForm\submitForm(), UpdateManagerUpdate\submitForm(), ViewsHandlerManagerTest\testAlterHookInvocation(), LibraryDiscoveryParserTest\testBuildByExtensionSimple(), LibraryDiscoveryParserTest\testBuildByExtensionWithMissingInformation(), LibraryDiscoveryParserTest\testBuildByExtensionWithMissingLibraryFile(), LibraryDiscoveryParserTest\testBuildByExtensionWithTheme(), PermissionHandlerTest\testBuildPermissionsSortPerModule(), PermissionHandlerTest\testBuildPermissionsYaml(), PermissionHandlerTest\testBuildPermissionsYamlCallback(), BreadcrumbManagerTest\testBuildWithMultipleApplyingBuilders(), BreadcrumbManagerTest\testBuildWithOneNotApplyingBuilders(), BreadcrumbManagerTest\testBuildWithoutBuilder(), BreadcrumbManagerTest\testBuildWithSingleBuilder(), ViewsDataTest\testCacheCallsWithSameTableMultipleTimesAndWarmCache(), ViewsDataTest\testCacheCallsWithWarmCacheAndDifferentTable(), ViewsDataTest\testCacheCallsWithWarmCacheAndGetAllTables(), ViewsDataTest\testCacheCallsWithWarmCacheAndInvalidTable(), ViewsDataTest\testCacheCallsWithWarmCacheForInvalidTable(), CommentLinkBuilderTest\testCommentLinkBuilder(), KeyValueEntityStorageTest\testCreate(), ConfigEntityStorageTest\testCreate(), SqlContentEntityStorageTest\testCreate(), KeyValueEntityStorageTest\testCreateWithoutUuidKey(), KeyValueEntityStorageTest\testCreateWithPredefinedUuid(), ConfigEntityStorageTest\testCreateWithPredefinedUuid(), LibraryDiscoveryParserTest\testDefaultCssWeights(), KeyValueEntityStorageTest\testDelete(), ConfigEntityStorageTest\testDelete(), KeyValueEntityStorageTest\testDeleteNothing(), ConfigEntityStorageTest\testDeleteNothing(), AlterTest\testDrupalAlter(), KernelTestBaseTest\testEnableModulesInstall(), KernelTestBaseTest\testEnableModulesLoad(), FormBuilderTest\testExceededFileSize(), LibraryDiscoveryParserTest\testExternalLibraries(), PageCacheTest\testFormImmutability(), ViewsDataTest\testFullAndTableGetCache(), ViewsDataTest\testFullGetCache(), LinkGeneratorTest\testGenerate(), LinkGeneratorTest\testGenerateActive(), LinkGeneratorTest\testGenerateExternal(), LinkGeneratorTest\testGenerateHrefs(), EntityTypeBundleInfoTest\testGetAllBundleInfo(), EntityTypeBundleInfoTest\testGetAllBundleInfoWithEntityBundleInfo(), EntityTypeBundleInfoTest\testGetBundleInfo(), ContextualLinkManagerTest\testGetContextualLinksArrayByGroup(), HookDiscoveryTest\testGetDefinition(), HookDiscoveryTest\testGetDefinitions(), HookDiscoveryTest\testGetDefinitionsWithoutPlugins(), HookDiscoveryTest\testGetDefinitionWithUnknownID(), EntityFieldManagerTest\testGetExtraFields(), EntityFieldManagerTest\testGetFieldDefinitionsProvider(), EntityFieldManagerTest\testGetFieldMap(), EntityFieldManagerTest\testGetFieldMapByFieldType(), EntityFieldManagerTest\testGetFieldStorageDefinitions(), EntityFieldManagerTest\testGetFieldStorageDefinitionsWithCaching(), ModuleHandlerTest\testGetHookInfo(), ModuleHandlerTest\testGetImplementations(), TokenTest\testGetInfo(), ElementInfoManagerTest\testGetInfoElementPlugin(), ElementInfoManagerTest\testGetInfoProperty(), ModuleHandlerTest\testGetModuleDirectories(), ModuleHandlerTest\testGetModuleList(), ModuleHandlerTest\testGetModuleWithExistingModule(), ModuleHandlerTest\testGetModuleWithNonExistingModule(), ViewsDataTest\testGetOnFirstCall(), EntityListBuilderTest\testGetOperations(), RegistryTest\testGetRegistryForModule(), HelpTest\testHelp(), ViewsHooksTest\testHooks(), ModuleHandlerTest\testImplementsHookModuleEnabled(), FieldImportDeleteUninstallTest\testImportAlreadyDeletedUninstall(), FieldImportDeleteUninstallUiTest\testImportDeleteUninstall(), FieldImportDeleteUninstallTest\testImportDeleteUninstall(), ConfigOtherModuleTest\testInstallOtherModuleFirst(), ConfigImportInstallProfileTest\testInstallProfileValidation(), LibraryDiscoveryParserTest\testInvalidLibrariesFile(), ModuleHandlerTest\testInvokeAll(), ModuleHandlerTest\testInvokeModuleEnabled(), ModuleHandlerTest\testIsLoaded(), LibraryDiscoveryParserTest\testJsWithPositiveWeight(), LibraryDiscoveryParserTest\testLibraryThirdPartyWithMissingLicense(), LibraryDiscoveryParserTest\testLibraryWithCssJsSetting(), LibraryDiscoveryParserTest\testLibraryWithDataTypes(), LibraryDiscoveryParserTest\testLibraryWithDependencies(), LibraryDiscoveryParserTest\testLibraryWithJavaScript(), LibraryDiscoveryParserTest\testLibraryWithLicenses(), KeyValueEntityStorageTest\testLoad(), ConfigEntityStorageTest\testLoad(), ModuleHandlerTest\testLoadAllModules(), FormCacheTest\testLoadCachedFormStateWithFiles(), ModuleHandlerTest\testLoadInclude(), KeyValueEntityStorageTest\testLoadMissingEntity(), ModuleHandlerTest\testLoadModule(), KeyValueEntityStorageTest\testLoadMultipleAll(), ConfigEntityStorageTest\testLoadMultipleAll(), KeyValueEntityStorageTest\testLoadMultipleIds(), ConfigEntityStorageTest\testLoadMultipleIds(), LocaleTranslationProjectsTest\testLocaleTranslationClearCacheProjects(), MainContentFallbackTest\testMainContentFallback(), NoHelpTest\testMainPageNoHelp(), ModuleHandlerTest\testModuleExists(), DrupalTest\testModuleHandler(), ModuleImplementsAlterTest\testModuleImplementsAlter(), ModuleImplementsAlterTest\testModuleImplementsAlterNonExistingImplementation(), LanguageListModuleInstallTest\testModuleInstallLanguageList(), RegistryTest\testMultipleSubThemes(), NodeAccessRecordsTest\testNodeAccessRecords(), NodeTemplateSuggestionsTest\testNodeThemeHookSuggestions(), ViewsDataTest\testNonExistingTableGetCache(), LibraryDiscoveryParserTest\testNonStringVersion(), PermissionHandlerTest\testPermissionsYamlStaticAndCallback(), ContextualLinkManagerTest\testPluginDefinitionAlter(), ThemeHandlerTest\testRebuildThemeData(), ThemeHandlerTest\testRebuildThemeDataWithThemeParents(), EntityCacheTagsTestBase\testReferencedEntity(), ModuleRouteSubscriberTest\testRemoveRoute(), TokenTest\testReplaceEscaping(), TokenTest\testReplaceWithBubbleableMetadataObject(), TokenTest\testReplaceWithHookTokensAlterWithBubbleableMetadata(), TokenTest\testReplaceWithHookTokensWithBubbleableMetadata(), ModuleHandlerTest\testResetImplementations(), RestLinkManagerTest\testRestLinkManagers(), ConfigEntityStorageTest\testSaveChangedUuid(), KeyValueEntityStorageTest\testSaveInsert(), ConfigEntityStorageTest\testSaveInsert(), KeyValueEntityStorageTest\testSaveRenameConfigEntity(), KeyValueEntityStorageTest\testSaveUpdate(), ConfigEntityStorageTest\testSaveUpdate(), ModuleHandlerTest\testSetModuleList(), KernelTestBaseTest\testSetUp(), ViewsDataTest\testSingleTableGetCache(), StableTemplateOverrideTest\testStableTemplateOverrides(), RegistryTest\testSuggestionPreprocessFunctions(), InfoAlterTest\testSystemInfoAlter(), BlockVisibilityTest\testTransformPhpDisabled(), BlockVisibilityTest\testTransformPhpEnabled(), DependencyTest\testUninstallDependents(), LibraryDiscoveryParserTest\testVersion(), TagTest\testViewsUiAutocompleteTag(), ModuleHandlerTest\testWriteCache(), SystemController\themesPage(), EntityFormDisplayEditForm\thirdPartySettingsForm(), EntityViewDisplayEditForm\thirdPartySettingsForm(), BlockVisibility\transform(), ThemeInstaller\uninstall(), ModuleInstaller\updateKernel(), UpdateController\updateStatus(), ConfigSingleImportForm\validateForm(), ThemeSettingsForm\validateForm(), and NodeGrantDatabaseStorage\write().

static pathValidator ( )
static

Returns the path validator.

Returns

Referenced by Route\__construct(), ShortcutSetController\__construct(), MenuLinkContentForm\__construct(), SiteInformationForm\__construct(), PathFormBase\__construct(), LinkFormatter\__construct(), ShortcutSetController\addShortcutLinkInline(), Url\fromInternalUri(), FieldUiTest\setUp(), PathValidatorTest\setUp(), UrlTest\setUp(), FieldPluginBaseTest\setUp(), UrlTest\testFromRoutedPathWithInvalidRoute(), UrlTest\testFromRoutedPathWithValidRoute(), PathValidatorTest\testGetUrlIfValidWithAccess(), PathValidatorTest\testGetUrlIfValidWithFrontPageAndQueryAndFragments(), PathValidatorTest\testGetUrlIfValidWithoutAccess(), PathValidatorTest\testGetUrlIfValidWithoutAccessCheck(), PathValidatorTest\testGetUrlIfValidWithQuery(), PathValidatorTest\testIsValidWithAccessDenied(), PathValidatorTest\testIsValidWithExternalUrl(), PathValidatorTest\testIsValidWithFailingParameterConverting(), PathValidatorTest\testIsValidWithFrontpage(), PathValidatorTest\testIsValidWithInvalidExternalUrl(), PathValidatorTest\testIsValidWithLinkToAnyPageAccount(), PathValidatorTest\testIsValidWithMethodNotAllowed(), PathValidatorTest\testIsValidWithNone(), PathValidatorTest\testIsValidWithNotExistingPath(), PathValidatorTest\testIsValidWithoutLinkToAnyPageAccount(), PathValidatorTest\testIsValidWithParamNotConverted(), PathValidatorTest\testIsValidWithPathAlias(), PathValidatorTest\testIsValidWithResourceNotFound(), DrupalTest\testPathValidator(), UrlTest\testToUriStringForInternal(), Route\transform(), PathFormBase\validateForm(), and SiteInformationForm\validateForm().

Here is the caller graph for this function:

static queue (   $name,
  $reliable = FALSE 
)
static

Returns a queue for the given queue name.

The following values can be set in your settings.php file's $settings array to define which services are used for queues:

  • queue_reliable_service_$name: The container service to use for the reliable queue $name.
  • queue_service_$name: The container service to use for the queue $name.
  • queue_default: The container service to use by default for queues without overrides. This defaults to 'queue.database'.
Parameters
string$nameThe name of the queue to work with.
bool$reliable(optional) TRUE if the ordering of items and guaranteeing every item executes at least once is important, FALSE if scalability is the main concern. Defaults to FALSE.
Returns
The queue object for a given name.

Referenced by Memory\__construct(), LocaleTranslation\__construct(), BatchMemory\claimItem(), Memory\claimItem(), Memory\createItem(), Memory\deleteItem(), Memory\deleteQueue(), BatchMemory\getAllItems(), hook_cron(), Memory\numberOfItems(), LocaleTranslation\processItem(), Memory\releaseItem(), QueueSerializationTest\setUp(), UpdateCoreTest\testFetchTasks(), DrupalTest\testQueue(), and LocaleUpdateCronTest\testUpdateCron().

Here is the caller graph for this function:

static request ( )
static

Retrieves the currently active request object.

Note: The use of this wrapper in particular is especially discouraged. Most code should not need to access the request directly. Doing so means it will only function when handling an HTTP request, and will require special modification or wrapping when run from a command line tool, from certain queue processors, or from automated tests.

If code must access the request, it is considerably better to register an object with the Service Container and give it a setRequest() method that is configured to run when the service is created. That way, the correct request object can always be provided by the container and the service can still be unit tested.

If this method must be used, never save the request object that is returned. Doing so may lead to inconsistencies as the request object is volatile and may change at various times, such as during a subrequest.

Returns
The currently active request object.

Referenced by ThemeRegistry\__construct(), Time\__construct(), HelpBlock\__construct(), DateTimeTimeAgoFormatter\__construct(), TimestampAgoFormatter\__construct(), StyleSerializerTest\addRequestWithFormat(), HelpBlock\build(), ImageStyle\buildUrl(), WebTestBase\curlExec(), file_url_transform_relative(), DateTimeTimeAgoFormatter\formatDate(), TimestampAgoFormatter\formatTimestamp(), ViewExecutable\getExposedInput(), BrowserTestBase\installDrupal(), PhpMail\mail(), RenderElement\preRenderAjaxForm(), Comment\preSave(), WebTestBase\rebuildAll(), BlockListBuilder\render(), ViewExecutable\setRequest(), CacheTest\setUp(), LocalTaskManagerTest\setUp(), LocalActionManagerTest\setUp(), FormTestBase\setUp(), BrowserTestBase\setUp(), WebTestBase\setUp(), LocalTaskManagerTest\setupLocalTaskManager(), UserLoginForm\submitForm(), TestContent\subrequestTest(), ChainRequestPolicyTest\testAllowIfAnyRuleReturnedAllow(), BlockViewBuilderTest\testBlockViewBuilderBuildAlter(), FormBuilderTest\testBuildFormWithTriggeringElement(), ChainRequestPolicyTest\testChainExceptionOnInvalidReturnValue(), ChainResponsePolicyTest\testChainExceptionOnInvalidReturnValue(), DbLogTest\testDBLogAddAndClear(), ChainRequestPolicyTest\testEmptyChain(), ChainResponsePolicyTest\testEmptyChain(), ConfigExportUITest\testExport(), LocalActionManagerTest\testGetActionsForRoute(), LocalActionManagerTest\testGetTitle(), LocalTaskManagerTest\testGetTitle(), FilterHtmlImageSecureTest\testImageSource(), LanguageUILanguageNegotiationTest\testLanguageDomain(), FunctionsTest\testLinks(), ChainRequestPolicyTest\testNullRuleChain(), ChainResponsePolicyTest\testNullRuleChain(), DenyPrivateImageStyleDownloadTest\testPrivateImageStyleDownloadPolicy(), DenyNodePreviewTest\testPrivateImageStyleDownloadPolicy(), RegistryTest\testRaceCondition(), FormBuilderTest\testRebuildForm(), KernelTestBaseTest\testRegister(), KernelTestBaseTest\testSetUp(), TrustedHostsTest\testStatusPageWithConfiguration(), ChainResponsePolicyTest\testStopChainOnFirstDeny(), ChainRequestPolicyTest\testStopChainOnFirstDeny(), RenderElementTypesTest\testSystemCompactLink(), ViewExecutable\unserialize(), and BlockViewBuilderTest\verifyRenderCacheHandling().

static requestStack ( )
static

Retrives the request stack.

Returns
The request stack

Referenced by NullGenerator\__construct(), RequestStackCacheContextBase\__construct(), MemoryBackend\__construct(), CurrentRouteMatch\__construct(), CurrentPathStack\__construct(), UpdateRootFactory\__construct(), DatabaseBackend\__construct(), BookNavigationCacheContext\__construct(), BatchNegotiator\__construct(), FormSubmitter\__construct(), TypeLinkManager\__construct(), SessionHandler\__construct(), UnroutedUrlAssembler\__construct(), RedirectDestination\__construct(), RelationLinkManager\__construct(), RenderCache\__construct(), ViewExecutableFactory\__construct(), SharedTempStoreFactory\__construct(), AjaxBasePageNegotiator\__construct(), BookNavigationBlock\__construct(), FormValidator\__construct(), Date\__construct(), PrivateTempStoreFactory\__construct(), ViewEditForm\__construct(), ThemeManager\__construct(), RequestPath\__construct(), ViewsForm\__construct(), UrlGenerator\__construct(), SystemManager\__construct(), PrivateTempStore\__construct(), SessionManager\__construct(), LanguageNegotiator\__construct(), AjaxResponseAttachmentsProcessor\__construct(), DateFormatter\__construct(), LocaleLookup\__construct(), SharedTempStore\__construct(), LocaleTranslation\__construct(), ContextualLinkManager\__construct(), HtmlResponseAttachmentsProcessor\__construct(), FormCache\__construct(), Renderer\__construct(), LocalActionManager\__construct(), ConfigurableLanguageManager\__construct(), LocalTaskManager\__construct(), FormBuilder\__construct(), UnroutedUrlAssembler\addOptionDefaults(), StyleSerializerTest\addRequestWithFormat(), BookNavigationBlock\build(), ViewsForm\buildForm(), FormBuilder\buildForm(), FormBuilder\buildFormAction(), UnroutedUrlAssembler\buildLocalUrl(), MemoryBackend\clear(), DatabaseBackend\clear(), SessionManager\destroy(), BatchNegotiator\determineActiveTheme(), AjaxBasePageNegotiator\determineActiveTheme(), FormBuilder\doBuildForm(), RequestPath\evaluate(), DateFormatter\formatTimeDiffSince(), DateFormatter\formatTimeDiffUntil(), UpdateRootFactory\get(), RedirectDestination\get(), RenderCache\get(), ViewExecutableFactory\get(), SharedTempStoreFactory\get(), PrivateTempStoreFactory\get(), BookNavigationCacheContext\getCacheableMetadata(), SessionCacheContext\getContext(), RequestFormatCacheContext\getContext(), IpCacheContext\getContext(), UrlCacheContext\getContext(), QueryArgsCacheContext\getContext(), HeadersCacheContext\getContext(), CookiesCacheContext\getContext(), PagersCacheContext\getContext(), PathCacheContext\getContext(), SiteCacheContext\getContext(), BookNavigationCacheContext\getContext(), Renderer\getCurrentRenderContext(), CurrentRouteMatch\getCurrentRouteMatch(), ConfigurableLanguageManager\getLanguageSwitchLinks(), LinkManagerBase\getLinkDomain(), LocalTaskManager\getLocalTasks(), CurrentRouteMatch\getMasterRouteMatch(), PrivateTempStore\getOwner(), CurrentRouteMatch\getParentRouteMatch(), CurrentPathStack\getPath(), NullGenerator\getRoute(), LocaleTranslation\getStringTranslation(), LocalActionManager\getTitle(), LocalTaskManager\getTitle(), MemoryBackend\isAllowed(), DatabaseBackend\isAllowed(), LoggerChannel\log(), RenderCache\maxAgeToExpire(), LanguageNegotiator\negotiateLanguage(), Date\opBetween(), Date\opSimple(), AjaxResponseAttachmentsProcessor\processAttachments(), HtmlResponseAttachmentsProcessor\processAttachments(), UrlGenerator\processPath(), FormSubmitter\redirectForm(), MemoryBackend\register(), DatabaseBackend\register(), LocaleLookup\resolveCacheMiss(), ViewEditForm\save(), RenderCache\set(), PrivateTempStore\set(), SharedTempStore\set(), Renderer\setCurrentRenderContext(), SharedTempStore\setIfNotExists(), FormValidator\setInvalidTokenError(), CurrentPathStack\setPath(), LoggerChannel\setRequestStack(), RenderElementTest\setUp(), LocaleTranslationTest\setUp(), RedirectDestinationTest\setUp(), UnroutedUrlAssemblerTest\setUp(), RequestPathTest\setUp(), UrlGeneratorTest\setUp(), ViewExecutableFactoryTest\setUp(), PrivateTempStoreTest\setUp(), SharedTempStoreTest\setUp(), MenuActiveTrailTest\setUp(), LocaleLookupTest\setUp(), FormCacheTest\setUp(), RendererTestBase\setUp(), FieldPluginBaseTest\setUp(), FormTestBase\setUp(), RendererTestBase\setUpRequest(), UnroutedUrlAssemblerTest\setupRequestStack(), FieldPluginBaseTest\setUpUrlIntegrationServices(), SessionManager\start(), ViewEditForm\submitDelayDestination(), RequestPathTest\testConditions(), LocaleTranslationTest\testDestruct(), DateTest\testFormatTimeDiffSince(), DateTest\testFormatTimeDiffUntil(), ThemeTest\testFrontPageThemeSuggestion(), RedirectDestinationTest\testGet(), ViewExecutableFactoryTest\testGet(), MenuActiveTrailTest\testGetActiveLink(), MenuActiveTrailTest\testGetActiveTrailIds(), RedirectDestinationTest\testGetAsArray(), RenderElementTest\testPreRenderAjaxForm(), RenderElementTest\testPreRenderAjaxFormWithQueryOptions(), DrupalTest\testRequestStack(), LocaleLookupTest\testResolveCacheMissNoTranslation(), LocaleLookupTest\testResolveCacheMissWithFallback(), LocaleLookupTest\testResolveCacheMissWithoutFallback(), LocaleLookupTest\testResolveCacheMissWithPersist(), RedirectDestinationTest\testSetAfterGetCall(), TimestampFormatterTest\testTimestampAgoFormatter(), and SessionHandler\write().

static root ( )
static

Gets the app root.

Returns
string

Referenced by TestRunnerKernel\__construct(), FileTransferAuthorizeForm\__construct(), BatchController\__construct(), Updater\__construct(), UpdateManagerInstall\__construct(), LibraryDiscoveryParser\__construct(), ThemeInitialization\__construct(), UpdateReady\__construct(), Extension\__construct(), ModuleInstaller\__construct(), ThemeManager\__construct(), SiteConfigureForm\__construct(), UpdateRegistry\__construct(), DbUpdateController\__construct(), ModuleHandler\__construct(), FormCache\__construct(), ConstraintViolationBuilder\__construct(), ExecutionContext\__construct(), ThemeHandler\__construct(), Registry\__construct(), DrupalKernel\__construct(), ModuleHandler\add(), ConstraintViolationBuilder\addViolation(), HtaccessTest\assertFileAccess(), LocalTaskIntegrationTestBase\assertLocalTasks(), BatchController\batchPage(), DrupalKernel\boot(), SiteConfigureForm\buildForm(), ExecutionContext\buildViolation(), DrupalKernel\classLoaderAddMultiplePsr4(), ThemeInitialization\getActiveThemeByName(), TestInstallStorage\getAllFolders(), ExtensionInstallStorage\getAllFolders(), InstallStorage\getAllFolders(), StableLibraryOverrideTest\getAllLibraries(), ResolvedLibraryDefinitionsFilesMatchTest\getAllLibraries(), DbCommandBase\getDatabaseConnection(), ThemeHandler\getExtensionDiscovery(), FileTransferAuthorizeForm\getFiletransfer(), Module\getInstallDirectory(), Theme\getInstallDirectory(), ModuleHandler\getModuleDirectories(), ComposerIntegrationTest\getPaths(), ThemeHandler\getThemeDirectories(), DbUpdateController\handle(), DrupalKernel\initializeSettings(), StableTemplateOverrideTest\installAllModules(), Extension\load(), ThemeInitialization\loadActiveTheme(), FormCache\loadCachedFormState(), ModuleHandler\loadInclude(), DrupalKernel\loadLegacyIncludes(), UpdateRegistry\loadUpdateFile(), PermissionHandlerTest\mockModuleExtension(), DrupalKernel\moduleData(), LibraryDiscoveryParser\parseLibraryInfo(), Registry\processExtension(), ThemeManager\render(), FileTransferAuthorizeForm\runOperation(), UpdateRegistry\scanExtensionsAndLoadUpdateFiles(), MenuTreeParameters\setRoot(), ModuleHandlerTest\setUp(), SystemLocalTasksTest\setUp(), DefaultConfigTest\setUp(), DefaultPluginManagerTest\setUp(), UnitTestCase\setUp(), LocalTaskIntegrationTestBase\setUp(), LibraryDiscoveryParserTest\setUp(), RecursiveContextualValidatorTest\setUp(), ThemeHandlerTest\setUp(), FormCacheTest\setUp(), FormTestBase\setUp(), InstallerLanguagePageTest\setUpLanguage(), InstallerLanguageDirectionTest\setUpLanguage(), InstallerTranslationTest\setUpLanguage(), UnroutedUrlAssemblerTest\setupRequestStack(), UpdateReady\submitForm(), UpdateManagerInstall\submitForm(), ModuleHandlerTest\testAddModule(), ModuleHandlerTest\testAddProfile(), ComposerIntegrationTest\testAllModulesReplaced(), LibraryDiscoveryParserTest\testBuildByExtensionSimple(), LibraryDiscoveryParserTest\testBuildByExtensionWithMissingInformation(), LibraryDiscoveryParserTest\testBuildByExtensionWithMissingLibraryFile(), LibraryDiscoveryParserTest\testBuildByExtensionWithTheme(), ModuleHandlerTest\testCachedGetImplementations(), ModuleHandlerTest\testCachedGetImplementationsMissingMethod(), DefaultConfigTest\testConfigIsEmpty(), LibraryDiscoveryParserTest\testDefaultCssWeights(), SystemListingTest\testDirectoryPrecedence(), SettingsRewriteTest\testDrupalRewriteSettings(), EarlyRenderingControllerTest\testEarlyRendering(), ErrorHandlerTest\testErrorHandler(), ErrorHandlerTest\testExceptionHandler(), LibraryDiscoveryParserTest\testExternalLibraries(), TypedDataTest\testGetAndSet(), ModuleHandlerTest\testGetModuleDirectories(), ModuleHandlerTest\testGetModuleList(), ModuleHandlerTest\testGetModuleWithExistingModule(), UpdaterTest\testGetProjectTitleWithChild(), RegistryTest\testGetRegistryForModule(), ImageItemTest\testImageItem(), LibraryDiscoveryParserTest\testInvalidLibrariesFile(), LibraryDiscoveryParserTest\testJsWithPositiveWeight(), LibraryDiscoveryParserTest\testLibraryThirdPartyWithMissingLicense(), LibraryDiscoveryParserTest\testLibraryWithCssJsSetting(), LibraryDiscoveryParserTest\testLibraryWithDataTypes(), LibraryDiscoveryParserTest\testLibraryWithDependencies(), LibraryDiscoveryParserTest\testLibraryWithJavaScript(), LibraryDiscoveryParserTest\testLibraryWithLicenses(), ModuleHandlerTest\testLoadAllIncludes(), UncaughtExceptionTest\testLoggerException(), ModuleHandlerTest\testModuleReloading(), RegistryTest\testMultipleSubThemes(), LibraryDiscoveryParserTest\testNonStringVersion(), ThemeHandlerTest\testRebuildThemeData(), ThemeHandlerTest\testRebuildThemeDataWithThemeParents(), SearchSimplifyTest\testSearchSimplifyUnicode(), ModuleHandlerTest\testSetModuleList(), FormValuesTest\testSimpleAjaxFormValue(), StableLibraryOverrideTest\testStableLibraryOverrides(), StableTemplateOverrideTest\testStableTemplateOverrides(), RegistryTest\testSuggestionPreprocessFunctions(), UpdateUploadTest\testUpdateDirectory(), LibraryDiscoveryParserTest\testVersion(), UpdatePathWithBrokenRoutingTest\testWithBrokenRouting(), Extension\unserialize(), and ResolvedLibraryDefinitionsFilesMatchTest\verifyLibraryFilesExist().

static routeMatch ( )
static

Retrieves the currently active route match object.

Returns
The currently active route match object.

Referenced by AdminContext\__construct(), RouteProcessorCurrent\__construct(), RouteCacheContext\__construct(), HelpController\__construct(), DenyNoCacheRoutes\__construct(), DenyPrivateImageStyleDownload\__construct(), DenyNodePreview\__construct(), DenyAdminRoutes\__construct(), NodeRouteContext\__construct(), FormAjaxResponseBuilder\__construct(), Node\__construct(), MenuActiveTrail\__construct(), User\__construct(), MenuTestController\__construct(), SystemBreadcrumbBlock\__construct(), LocalActionsBlock\__construct(), UserLoginBlock\__construct(), LocalTasksBlock\__construct(), Tid\__construct(), PathMatcher\__construct(), HelpBlock\__construct(), BlockLibraryController\__construct(), PageDisplayVariantSelectionEvent\__construct(), Date\__construct(), MainContentViewSubscriber\__construct(), LocalActionManager\__construct(), LocalTaskManager\__construct(), UserLoginBlock\blockAccess(), SystemBreadcrumbBlock\build(), LocalActionsBlock\build(), LocalTasksBlock\build(), BlockLibraryController\buildLocalActions(), DenyPrivateImageStyleDownload\check(), DenyNoCacheRoutes\check(), DenyNodePreview\check(), DenyAdminRoutes\check(), HelpBlock\getActiveHelp(), MenuActiveTrail\getActiveLink(), Node\getArgument(), User\getArgument(), Tid\getArgument(), MenuActiveTrail\getCid(), RouteNameCacheContext\getContext(), RouteCacheContext\getContext(), Date\getDefaultArgument(), NodeRouteContext\getRuntimeContexts(), ViewUI\getStandardButtons(), HelpController\helpPage(), hook_entity_presave(), hook_ENTITY_TYPE_presave(), ThemeManager\initTheme(), AdminContext\isAdminRoute(), PathMatcher\isFrontPage(), LocalTaskManager\isRouteActive(), MainContentViewSubscriber\onViewRenderArray(), RouteProcessorCurrent\processOutbound(), UpdateManager\projectStorage(), FormAjaxResponseBuilderTest\setUp(), LocalTaskManagerTest\setUp(), LocalTaskManagerTest\setupLocalTaskManager(), CsrfAccessCheckTest\testAccessTokenFail(), CsrfAccessCheckTest\testAccessTokenPass(), FormAjaxResponseBuilderTest\testBuildResponseRenderArray(), ConfigTranslationFormTest\testConfigTranslationFormAlter(), LocalTaskManagerTest\testGetTasksBuildWithCacheabilityMetadata(), DenyPrivateImageStyleDownloadTest\testPrivateImageStyleDownloadPolicy(), DenyNodePreviewTest\testPrivateImageStyleDownloadPolicy(), MenuTestController\themePage(), and DisplayPluginBase\viewExposedFormBlocks().

static service (   $id)
static

Retrieves a service from the container.

Use this method if the desired service is not one of those with a dedicated accessor method below. If it is listed below, those methods are preferred as they can return useful type hints.

Parameters
string$idThe ID of the service to retrieve.
Returns
mixed The specified service.

Referenced by ComplexDataConstraint\__construct(), FormController\__construct(), DependencySerializationTestDummy\__construct(), Tour\__construct(), EntityDisplayBase\__construct(), EntityFormDisplay\__construct(), EntityViewDisplay\__construct(), FilterDateTimeTest\_testExact(), StringFieldTest\_testTextfieldWidgets(), Url\accessManager(), SimpletestResultsForm\addResultForm(), UuidItem\applyDefaultValue(), BlockViewBuilderTest\assertBlockRenderedWithExpectedCacheability(), RenderElementTypesTest\assertElements(), FieldRdfaTestBase\assertFormatterRdfa(), StyleGridTest\assertGrid(), ManageDisplayTest\assertNodeViewTextHelper(), EntityReferenceSelectionAccessTest\assertReferenceable(), ContentTranslationSettingsTest\assertSettings(), RowEntityRenderersTest\assertTranslations(), Feed\baseFieldDefinitions(), PublicStream\basePath(), ConvertImageEffect\buildConfigurationForm(), OpmlFeedAdd\buildForm(), EntityForm\buildForm(), ProxyBuilder\buildMethod(), Page\buildOptionsForm(), BlockViewBuilder\buildPreRenderableBlock(), ImageStyle\buildUrl(), ViewUI\cacheSet(), ResponsiveImageStyle\calculateDependencies(), FieldStorageConfig\calculateDependencies(), User\checkExistingPassword(), MenuTest\checkInvalidParentMenuLinks(), BrowserTestBase\checkPermissions(), TestSessionHandlerProxy\close(), Block\conditionPluginManager(), BaseFieldDefinition\create(), MemoryBackendUnitTest\createCacheBackend(), PhpBackendUnitTest\createCacheBackend(), ChainedFastBackendUnitTest\createCacheBackend(), ApcuBackendUnitTest\createCacheBackend(), EntityCacheTagsTestBase\createCacheId(), ImageStyle\createDerivative(), Url\createFromRequest(), ViewTestData\createTestViews(), FieldItemList\defaultValueWidget(), FileUsageBase\delete(), PathItem\delete(), FileFieldItemList\delete(), Feed\deleteItems(), FileFieldItemList\deleteRevision(), SearchExcerptTest\doSearchExcerpt(), FrontPageTest\doTestFrontPageViewCacheTags(), MenuRouterTest\doTestMenuOnRoute(), RenderCacheTest\doTestUser1WithContexts(), NodeTranslationUITest\doUninstallTest(), WebTestBase\drupalBuildEntityView(), WebTestBase\drupalCreateContentType(), Editor\editorPluginManager(), ContentTranslationTestBase\enableTranslation(), EntityReferenceFieldTranslatedReferenceViewTest\enableTranslation(), ViewTestBase\enableViewsTestModule(), field_post_update_entity_reference_handler_setting(), EntityReferenceItem\fieldSettingsForm(), EntityReferenceItem\fieldSettingsFormValidate(), file_create_url(), file_prepare_directory(), file_save_htaccess(), file_stream_wrapper_uri_normalize(), file_valid_uri(), FilterFormat\filters(), ImageStyle\flush(), PathWidget\formElement(), FileWidget\formElement(), ImageWidget\formMultipleElements(), CachePluginBase\generateResultsKey(), FieldItemList\generateSampleItems(), EntityReferenceItem\generateSampleValue(), Views\getApplicableViews(), Editor\getAttachments(), FilterStringTest\getBasicPageView(), FieldConfigBase\getClass(), AssetResolver\getCssAssets(), Language\getDefaultLangcode(), ConfigurableLanguage\getDefaultLangcode(), Migration\getDestinationPlugin(), MigrateExecutable\getEventDispatcher(), Updater\getExtensionInfo(), Tasks\getFormOptions(), Migration\getIdMap(), ImageDimensionsTest\getImageTag(), AssetResolver\getJsAssets(), LanguageNegotiationBrowser\getLangcode(), Action\getPluginCollection(), Block\getPluginCollection(), Migration\getProcessPlugins(), Updater\getProjectTitle(), PluginBase\getRenderer(), FieldPluginBase\getRenderer(), BaseFieldDefinition\getSchema(), EntityReferenceItem\getSettableOptions(), FieldStorageConfig\getSettings(), Migration\getSourcePlugin(), ViewUI\getStandardButtons(), TranslatableMarkup\getStringTranslation(), ContentEntityBase\getTranslatedField(), Element\getTypedDataManager(), Views\getView(), CommentViewsData\getViewsData(), NodeViewsData\getViewsData(), ViewExecutable\hasUrl(), hook_ajax_render_alter(), hook_config_translation_info(), hook_entity_bundle_create(), hook_entity_presave(), hook_ENTITY_TYPE_presave(), hook_file_url_alter(), hook_rebuild(), hook_requirements(), EntityCommentType\import(), ThemeRegistry\initializeRegistry(), ToolbarCacheContextsTest\installExtraModules(), MigrateDrupalTestBase\installMigrations(), View\invalidateCaches(), Cache\invalidateTags(), Editor\isCompatible(), View\isInstallable(), BlockViewBuilder\lazyBuilder(), RouteProvider\lazyLoadItself(), MatcherDumper\lazyLoadItself(), RouteBuilder\lazyLoadItself(), LanguageConverter\lazyLoadItself(), ModuleInstaller\lazyLoadItself(), ViewUIConverter\lazyLoadItself(), ConfigInstaller\lazyLoadItself(), NodePreviewConverter\lazyLoadItself(), Cron\lazyLoadItself(), FieldModuleUninstallValidator\lazyLoadItself(), ContentUninstallValidator\lazyLoadItself(), FieldUninstallValidator\lazyLoadItself(), BatchStorage\lazyLoadItself(), ExtensionMimeTypeGuesser\lazyLoadItself(), MimeTypeGuesser\lazyLoadItself(), DatabaseLockBackend\lazyLoadItself(), PersistentDatabaseLockBackend\lazyLoadItself(), BookUninstallValidator\lazyLoadItself(), ChainResponsePolicy\lazyLoadItself(), AdminPathConfigEntityConverter\lazyLoadItself(), RequiredModuleUninstallValidator\lazyLoadItself(), MenuLinkPluginConverter\lazyLoadItself(), FilterUninstallValidator\lazyLoadItself(), CachedDiscoveryClearer\lazyLoadItself(), ForumUninstallValidator\lazyLoadItself(), BareHtmlPageRenderer\lazyLoadItself(), StyleMappingTest\mappedOutputHelper(), ConfigTranslationContextualLink\mapperManager(), ConfigTranslationLocalTask\mapperManager(), SessionTestController\noSet(), FieldConfigBase\onDependencyRemoval(), MaintenanceModeSubscriber\onKernelRequestMaintenance(), TestSessionHandlerProxy\open(), DefaultParser\parse(), User\postDelete(), Node\postDelete(), Comment\postDelete(), SearchPage\postDelete(), View\postDelete(), Theme\postInstall(), PathItem\postSave(), User\postSave(), BlockContent\postSave(), ConfigurableLanguage\postSave(), Comment\postSave(), View\postSave(), File\preCreate(), Feed\preDelete(), File\preDelete(), BrowserTestBase\prepareEnvironment(), Permissions\preRender(), Actions\preRenderActionsDropbutton(), User\preSave(), FieldConfig\preSave(), BaseFieldOverride\preSave(), FieldStorageConfig\preSave(), ImageItem\preSave(), FieldStorageConfig\preSaveNew(), ImageWidget\process(), ConfigImporter\processExtension(), ManagedFile\processManagedFile(), Weight\processWeight(), StatisticsLastCommentName\query(), NodeTermData\query(), TestSessionHandlerProxy\read(), ConfigurableLanguageManager\rebuildServices(), Feed\refreshItems(), WebTestBase\refreshVariables(), ConfigImporter\reInjectMe(), ModuleInstaller\removeCacheBins(), LinkFieldTest\renderTestEntity(), DateTimeFieldTest\renderTestEntity(), MenuTest\resetMenuLink(), ThemeRegistry\resolveCacheMiss(), LocalTaskDefault\routeProvider(), LanguageSwitchingTest\saveNativeLanguageName(), SessionTest\sessionReset(), PoDatabaseWriter\setHeader(), SessionTestController\setMessageButDontSave(), NormalizeTest\setUp(), RestLinkManagerTest\setUp(), RedirectOnExceptionTest\setUp(), TableTest\setUp(), LocaleTranslatedSchemaDefinitionTest\setUp(), UserFieldsTest\setUp(), ConfigSnapshotTest\setUp(), StatisticsAttachedTest\setUp(), ContentNegotiationRoutingTest\setUp(), ExceptionHandlingTest\setUp(), ThemeRenderAndAutoescapeTest\setUp(), UuidFormatterTest\setUp(), EntityTest\setUp(), StackKernelIntegrationTest\setUp(), MigrateMenuLinkTest\setUp(), MigrateBlockTest\setUp(), MigrateInterruptionTest\setUp(), FilterDateTest\setUp(), MigrateShortcutSetUsersTest\setUp(), ColorConfigSchemaTest\setUp(), MigrateShortcutSetTest\setUp(), MigrateShortcutTest\setUp(), LinksTest\setUp(), FilterDateTimeTest\setUp(), FileNormalizeTest\setUp(), RowEntityTest\setUp(), NodeFieldOverridesTest\setUp(), SchemaCheckTraitTest\setUp(), EditorImageDialogTest\setUp(), RouteProcessorCurrentIntegrationTest\setUp(), TextFormatElementFormTest\setUp(), RouteNoneTest\setUp(), DynamicPageCacheIntegrationTest\setUp(), MigrateEventsTest\setUp(), TwigWhiteListTest\setUp(), EntityAutocompleteElementFormTest\setUp(), TwigTransTest\setUp(), ColorTest\setUp(), RawStringFormatterTest\setUp(), StringFormatterTest\setUp(), BlockConfigSchemaTest\setUp(), ExternalFormUrlTest\setUp(), NormalizerTestBase\setUp(), FieldRdfaTestBase\setUp(), RouteProviderTest\setUp(), QueueSerializationTest\setUp(), DbLogFormInjectionTest\setUp(), ViewKernelTestBase\setUpFixtures(), PagerTestController\showPagerCacheContext(), FileItem\storageSettingsForm(), ImageItem\storageSettingsForm(), ReindexConfirm\submitForm(), StatisticsSettingsForm\submitForm(), Views\t(), FieldUiTable\tablePreRender(), ShortcutLinksTest\testAccessShortcutsPermission(), MigrateActionConfigsTest\testActionSettings(), ActionUninstallTest\testActionUninstall(), ExternalFormUrlTest\testActionUrlBehavior(), AttachedAssetsTest\testAddExternalFiles(), AttachedAssetsTest\testAddFiles(), AttachedAssetsTest\testAddJsFileWithQueryString(), ForumTest\testAddOrphanTopic(), FrontPageTest\testAdminFrontPage(), UserPermissionsTest\testAdministratorRole(), FieldUIRouteTest\testAdminRoute(), BlockAdminThemeTest\testAdminTheme(), AttachedAssetsTest\testAggregatedAttributes(), AttachedAssetsTest\testAggregation(), MigrateAggregatorConfigsTest\testAggregatorSettings(), AttachedAssetsTest\testAlter(), DefaultViewsTest\testArchiveView(), AreaTest\testAreaAccess(), CommandsTest\testAttachedSettings(), AttachedAssetsTest\testAttributes(), TwigRawTest\testAutoescape(), TwigRawTest\testAutoescapeRaw(), EntityFormDisplayTest\testBaseFieldComponent(), EntityDisplayTest\testBaseFieldComponent(), BlockUiTest\testBlockAdminUiPage(), BlockTest\testBlockCacheTags(), BlockUiTest\testBlockDemoUiPage(), MigrateBlockedIPsTest\testBlockedIPs(), BlockHiddenRegionTest\testBlockNotInHiddenRegion(), BlockTest\testBlockThemeSelector(), MigrateBookTest\testBook(), MigrateDblogConfigsTest\testBookSettings(), MigrateBookConfigsTest\testBookSettings(), BookUninstallTest\testBookUninstall(), BooleanFieldTest\testBooleanField(), BreakpointDiscoveryTest\testBreakpointGroups(), AttachedAssetsTest\testBrowserConditionalComments(), CKEditorTest\testBuildContentsCssJSSetting(), MailTest\testCancelMessage(), ClassLoaderTest\testClassLoading(), ConfigSchemaTest\testColonsInSchemaTypeDetermination(), ColorSafePreviewTest\testColorPreview(), SqlContentEntityStorageSchemaColumnTest\testColumnUpdate(), CommentTitleTest\testCommentEmptyTitles(), CommentFieldsTest\testCommentFieldLinksNonDefaultName(), CommentLinksTest\testCommentLinks(), CommentPreviewTest\testCommentPreview(), CommentRssTest\testCommentRss(), CommentTokenReplaceTest\testCommentTokenReplacement(), TranslationStringTest\testComparison(), FieldFieldTest\testComplexRender(), BlockContentCreationTest\testConfigDependencies(), ConfigEventsTest\testConfigEvents(), SystemMenuBlockTest\testConfigLevelDepth(), LanguageConfigOverrideImportTest\testConfigOverrideImport(), LanguageConfigOverrideImportTest\testConfigOverrideImportEvents(), LocaleImportFunctionalTest\testConfigPoFile(), ConnectionFailureTest\testConnectionFailureLogging(), MigrateContactSettingsTest\testContactSettings(), ContainerRebuildWebTest\testContainerInvalidation(), QuickEditLoadingTest\testContentBlock(), BlockUiTest\testContextAwareBlocks(), BlockUiTest\testContextAwareUnsatisfiedBlocks(), FieldStorageCrudTest\testCreate(), UserPictureTest\testCreateDeletePicture(), MigrateNodeBuilderTest\testCreateMigrations(), BreakpointDiscoveryTest\testCustomBreakpointGroups(), CustomBooleanTest\testCustomOption(), CustomBooleanTest\testCustomOptionTemplate(), QuickEditLoadingTest\testCustomPipeline(), StyleTest\testCustomRowClasses(), FloodTest\testDatabaseBackend(), UpdatePathRC1TestBaseTest\testDatabaseLoaded(), ConfigCRUDTest\testDataTypes(), NumberFieldRdfaTest\testDecimalFormatterWithSettings(), BlockStorageUnitTest\testDefaultBlocks(), TestViewsTest\testDefaultConfig(), DefaultConfigTest\testDefaultConfig(), StyleUnformattedTest\testDefaultRowClasses(), StyleHtmlListTest\testDefaultRowClasses(), FieldTypePluginManagerTest\testDefaultSettings(), FieldUIDeleteTest\testDeleteField(), FilterAPITest\testDependencyRemoval(), DialogTest\testDialog(), ConfigDiffTest\testDiff(), DisabledDisplayTest\testDisabledDisplays(), QuickEditLoadingTest\testDisplayOptions(), AlterTest\testDrupalAlter(), GetFilenameUnitTest\testDrupalGetFilename(), FunctionsTest\testDrupalPreRenderLinks(), RenderTest\testDrupalRenderThemePreprocessAttached(), EmailFieldTest\testEmailField(), KernelTestBaseTest\testEnableModulesInstall(), DependencyTest\testEnableRequirementsFailureDependency(), InstallTest\testEnableUserTwice(), ConfigImportUITest\testEntityBundleDelete(), EntityTranslationFormTest\testEntityFormLanguage(), EntityReferenceFieldDefaultValueTest\testEntityReferenceDefaultValue(), UncaughtExceptionTest\testErrorContainer(), UncaughtExceptionTest\testExceptionContainer(), ThemeSuggestionsAlterTest\testExecutionOrder(), CKEditorAdminTest\testExistingFormat(), ExposedFormTest\testExposedFormRender(), ConfigImportUITest\testExtensionValidation(), AddFeedTest\testFeedIconEscaping(), EntityFormDisplayTest\testFieldComponent(), EntityDisplayTest\testFieldComponent(), FieldHelpTest\testFieldHelp(), EntityViewControllerTest\testFieldItemAttributes(), DisplayApiTest\testFieldItemListView(), DisplayApiTest\testFieldItemView(), NodeBodyFieldStorageTest\testFieldOverrides(), FieldUpdateTest\testFieldUpdate8002(), DownloadTest\testFileCreateUrl(), FileDenormalizeTest\testFileDenormalize(), FileItemTest\testFileItem(), MigrateFileConfigsTest\testFileSettings(), FilterFormTest\testFilterForm(), HandlerFilterPermissionTest\testFilterPermission(), NumberFieldRdfaTest\testFloatFormatterWithScaleExercised(), NumberFieldRdfaTest\testFloatFormatterWithSettings(), FormatDateTest\testFormatDate(), TextFormatterTest\testFormatters(), ManageDisplayTest\testFormatterUI(), PageCacheTest\testFormImmutability(), MigrateForumConfigsTest\testForumSettings(), MailTest\testFromAndReplyToHeader(), ThemeSuggestionsAlterTest\testGeneralSuggestionsAlter(), StreamWrapperTest\testGetClassName(), LocaleConfigManagerTest\testGetDefaultConfigLangcode(), ViewEntityDependenciesTest\testGetDependencies(), StreamWrapperTest\testGetInstanceByScheme(), GetRdfNamespacesTest\testGetRdfNamespaces(), LocaleConfigManagerTest\testGetStringTranslation(), HistoryTimestampTest\testHandlers(), FieldUITest\testHandlerUI(), LocaleConfigManagerTest\testHasTranslation(), AttachedAssetsTest\testHeaderHTML(), ManageFieldsTest\testHiddenFields(), LinkGenerationTest\testHookLinkAlter(), BookTest\testHookNodeLoadAccess(), PageRenderTest\testHookPageAlter(), PageRenderTest\testHookPageAttachmentsExceptions(), ImageImportTest\testImport(), ConfigSingleImportExportTest\testImport(), FieldImportCreateTest\testImportCreateDefault(), ConfigImportUITest\testImportSiteUuidValidation(), ThemeTest\testInstallAndSetAsDefault(), ConfigImportInstallProfileTest\testInstallProfileValidation(), NumberFieldRdfaTest\testIntegerFormatterWithSettings(), ConfigInstallWebTest\testIntegrationModuleReinstallation(), DeleteTest\testInUse(), DisplayTest\testInvalidDisplayPlugins(), LanguageConfigOverrideInstallTest\testLanguageConfigOverrideInstall(), LanguageListTest\testLanguageList(), StackKernelIntegrationTest\testLazyLateMiddlewares(), FrameworkTest\testLazyLoad(), FrameworkTest\testLazyLoadOverriddenCSS(), CommentLinksTest\testLinkApprove(), UrlTest\testLinkBubbleableMetadata(), CommentLinksTest\testLinkReply(), CKEditorLoadingTest\testLoading(), LocaleConfigTranslationImportTest\testLocaleRemovalAndConfigOverrideDelete(), MigrateLocaleConfigsTest\testLocaleSettings(), LocaleJavascriptTranslationTest\testLocaleTranslationJsDependencies(), ConfigEntityQueryTest\testLookupKeys(), MailCaptureTest\testMailSend(), UserCancelTest\testMassUserCancelByAdmin(), FloodTest\testMemoryBackend(), MenuLinkContentDeleteFormTest\testMenuLinkContentDeleteForm(), MigrateMenuLinkTest\testMenuLinks(), DisplayPageTest\testMenuLinks(), MenuUninstallTest\testMenuUninstall(), MessageTest\testMessages(), MigrateMessageTest\testMessagesTeed(), AreaMessagesTest\testMessageText(), BreakpointDiscoveryTest\testModuleBreakpoints(), DependencyTest\testModuleEnableOrder(), ModuleImplementsAlterTest\testModuleImplementsAlter(), ModuleImplementsAlterTest\testModuleImplementsAlterNonExistingImplementation(), ConfigInstallTest\testModuleInstallation(), ModuleHandlerTest\testModuleStreamWrappers(), LinksTest\testModuleUninstalledMenuLinks(), RenderElementTypesTest\testMoreLink(), RegistryTest\testMultipleSubThemes(), NewDefaultThemeBlocksTest\testNewDefaultThemeBlocks(), FormCacheTest\testNoCacheToken(), NodeAccessRebuildNodeGrantsTest\testNodeAccessRebuildNoAccessModules(), NodeAccessRebuildNodeGrantsTest\testNodeAccessRebuildNodeGrants(), IntegrationTest\testNodeCounterIntegration(), NodeRevisionPermissionsTest\testNodeRevisionAccessAnyType(), NodeRevisionPermissionsTest\testNodeRevisionAccessPerType(), NodeRevisionsUiTest\testNodeRevisionDoubleEscapeFix(), MigrateNodeConfigsTest\testNodeSettings(), ImageFieldAttributesTest\testNodeTeaser(), FileFieldAttributesTest\testNodeTeaser(), EntityReferenceFieldAttributesTest\testNodeTeaser(), NodeTokenReplaceTest\testNodeTokenReplacement(), NonDefaultBlockAdminTest\testNonDefaultBlockAdmin(), ConfigDependencyTest\testNonEntity(), ShortcutLinksTest\testNoShortcutLink(), NumericFormatPluralTest\testNumericFormatPlural(), EntityFormDisplayTest\testOnDependencyRemoval(), EntityDisplayTest\testOnDependencyRemoval(), ViewsDataTest\testOptionsFieldViewsData(), FrameworkTest\testOrder(), DisplayPageTest\testPageResponses(), DisplayPageTest\testPageRouterItems(), NodeContextualLinksTest\testPageWithDisabledContextualModule(), UserLoginTest\testPasswordRehashOnLogin(), ContactPersonalTest\testPersonalContactAccess(), ContactPersonalTest\testPersonalContactFlood(), MailTest\testPluggableFramework(), ConfigTranslationUiTest\testPluralConfigStringsSourceElements(), StatisticsReportsTest\testPopularContentBlock(), ConfigInstallWebTest\testPreExistingConfigInstall(), PreviewTest\testPreviewAdditionalInfo(), PreviewTest\testPreviewContextual(), DownloadTest\testPublicFileTransfer(), UrlRewritingTest\testPublicManagedFileURL(), ReadOnlyStreamWrapperTest\testReadOnlyBehavior(), NodeBlockFunctionalTest\testRecentNodeBlock(), EntityCacheTagsTestBase\testReferencedEntity(), ThemeTest\testRegionClass(), UrlRewritingTest\testRelativeFileURL(), DefaultMobileMetaTagsTest\testRemovingDefaultMetaTags(), KernelTestBaseTest\testRender(), AttachedAssetsTest\testRenderDifferentWeight(), PagerTest\testRenderNullPager(), AttachedAssetsTest\testRenderOrder(), KernelTestBaseTest\testRenderWithTheme(), FormTest\testRequiredFields(), CckMigrationBuilderTest\testRequirementCheck(), RestLinkManagerTest\testRestLinkManagers(), RestLinkManagerTest\testRestLinkManagersNoInstallHook(), RestLinkManagerTest\testRestLinkManagersSetLinkDomain(), RouterTest\testRouterUninstallInstall(), BookTest\testSaveBookLink(), BlockContentTypeTest\testsBlockContentAddTypes(), ConfigSchemaTest\testSchemaData(), ConfigSchemaTest\testSchemaFallback(), ConfigSchemaTest\testSchemaMapping(), ConfigSchemaTest\testSchemaMappingWithParents(), MigrateSearchSettingsTest\testSearchSettings(), DrupalTest\testService(), ServiceProviderTest\testServiceProviderRegistrationDynamic(), PagerKernelTest\testSetPagerMethods(), AttachedAssetsTest\testSettings(), BlockAdminThemeTest\testSevenAdminTheme(), ShortcutLinksTest\testShortcutQuickLink(), MigrateSimpletestConfigsTest\testSimpletestSettings(), SiteMaintenanceTest\testSiteMaintenance(), ConfigImporterTest\testSiteUuidValidate(), ConfigSnapshotTest\testSnapshot(), ThemeSuggestionsAlterTest\testSpecificSuggestionsAlter(), StableTemplateOverrideTest\testStableTemplateOverrides(), LocaleImportFunctionalTest\testStandalonePoFile(), MigrateStatisticsConfigsTest\testStatisticsSettings(), StatisticsTokenReplaceTest\testStatisticsTokenReplacement(), ThemeTest\testSuggestionPreprocessForDefaults(), RegistryTest\testSuggestionPreprocessFunctions(), ThemeSuggestionsAlterTest\testSuggestionsAlterInclude(), EntityReferenceIntegrationTest\testSupportedEntityTypesAndWidgets(), MigrateSyslogConfigsTest\testSyslogSettings(), RenderElementTypesTest\testSystemCompactLink(), TokenReplaceUnitTest\testSystemDateTokenReplacement(), InfoAlterTest\testSystemInfoAlter(), MigrateSystemLoggingTest\testSystemLogging(), StyleTableUnitTest\testTable(), PreviewTest\testTaxonomyAJAX(), MigrateTaxonomyConfigsTest\testTaxonomySettings(), ViewsTemplateTest\testTemplate(), TemplateTest\testTemplates(), ThemeSuggestionsAlterTest\testTemplateSuggestionsAlter(), TermTest\testTermInterface(), MigrateTextConfigsTest\testTextSettings(), BreakpointDiscoveryTest\testThemeBreakpoints(), ViewsThemeIntegrationTest\testThemedViewPage(), ThemeSuggestionsAlterTest\testThemeFunctionSuggestionsAlter(), ModuleHandlerTest\testThemeMetaData(), BlockTest\testThemeName(), ThemeTest\testThemeSettings(), ThemeTest\testThemeSettingsLogo(), TableTest\testThemeTableWithEmptyMessage(), TimestampFormatterTest\testTimestampAgoFormatter(), TimestampFormatterTest\testTimestampFormatter(), ToolbarCacheContextsTest\testToolbarCacheContextsCaller(), TrackerTest\testTrackerAdminUnpublish(), TrackerTest\testTrackerAll(), TrackerTest\testTrackerUser(), NodeTranslationUITest\testTranslationRendering(), DisplayTest\testTranslationSetting(), TwigSettingsTest\testTwigCacheOverride(), TwigExtensionTest\testTwigExtensionLoaded(), TwigLoaderTest\testTwigLoaderAddition(), TwigNamespaceTest\testTwigNamespaces(), TwigFilterTest\testTwigWithoutFilter(), ThemeTest\testUninstallingThemes(), UninstallTest\testUninstallPage(), InstallTest\testUninstallPostUpdateFunctions(), RecalculatedDependencyTest\testUpdate(), OptionsFieldTest\testUpdateAllowedValues(), UpdateContribTest\testUpdateBaseThemeSecurityUpdate(), UpdateContribTest\testUpdateHiddenBaseTheme(), MigrateUpdateConfigsTest\testUpdateSettings(), StreamWrapperTest\testUriFunctions(), MigrateUrlAliasTest\testUrlAlias(), LinkFieldTest\testURLValidation(), UserCancelTest\testUserCancelChangePermission(), UserCancelTest\testUserCancelUid1(), MigrateUserContactSettingsTest\testUserContactSettings(), UserCancelTest\testUserDelete(), UserAccountFormFieldsTest\testUserEditForm(), UserFieldsTest\testUserFields(), UserAdminListingTest\testUserListing(), MigrateUserConfigsTest\testUserMail(), CommentUserNameTest\testUsername(), CacheContextOptimizationTest\testUserPermissionCacheContextOptimization(), CacheContextOptimizationTest\testUserRolesCacheContextOptimization(), UserRegistrationTest\testUuidFormState(), EntityValidationTest\testValidation(), LanguageConfigSchemaTest\testValidLanguageConfigSchema(), UserActionConfigSchemaTest\testValidUserActionConfigSchema(), AttachedAssetsTest\testVersionQueryString(), ManageDisplayTest\testViewModeCustom(), ViewsHooksTest\testViewsPreRenderViewsFormViewsForm(), PluginBaseTest\testViewsTokenReplace(), PluginBaseTest\testViewsTokenReplaceWithDots(), ViewsEscapingTest\testViewsViewFieldsEscaping(), UserBlocksTest\testWhosOnlineBlock(), WidgetPluginManagerTest\testWidgetDefinitionAlter(), ManageDisplayTest\testWidgetUI(), UpdatePathWithBrokenRoutingTest\testWithBrokenRouting(), SessionTestController\traceHandler(), ThemeHandler\uninstall(), Url\unroutedUrlAssembler(), PathWidget\validateFormElement(), BlockViewBuilderTest\verifyRenderCacheHandling(), TextTrimmedFormatter\viewElements(), and TestSessionHandlerProxy\write().

static setContainer ( ContainerInterface  $container)
static

Sets a new global container.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerA new container instance to replace the current.

Referenced by UnitTestCase\getContainerWithCacheTagsInvalidator(), MigrateTestCase\getDatabase(), DrupalKernel\initializeContainer(), DrupalKernelTest\prepareConfigDirectories(), UpdatePathTestBase\runDbTasks(), DrupalTest\setMockContainerService(), ForumBreadcrumbBuilderBaseTest\setUp(), ForumListingBreadcrumbBuilderTest\setUp(), ForumNodeBreadcrumbBuilderTest\setUp(), LanguageNegotiationUrlTest\setUp(), BaseFieldDefinitionTestBase\setUp(), FieldUiTest\setUp(), EntityAccessCheckTest\setUp(), EditEntityFieldAccessCheckTest\setUp(), AccessResultTest\setUp(), EntityCreateAccessCheckTest\setUp(), ViewsTest\setUp(), MenuLinkTreeTest\setUp(), ContentTranslationManageAccessCheckTest\setUp(), CollectRoutesTest\setUp(), AjaxRendererTest\setUp(), EntityUrlTest\setUp(), BaseFieldDefinitionTest\setUp(), PermissionAccessCheckTest\setUp(), RenderElementTest\setUp(), FormBuilderTest\setUp(), ResponsiveImageStyleConfigEntityUnitTest\setUp(), EntityLinkTest\setUp(), RedirectResponseSubscriberTest\setUp(), LocalTaskIntegrationTestBase\setUp(), BlockConfigEntityUnitTest\setUp(), RdfMappingConfigEntityUnitTest\setUp(), UnroutedUrlTest\setUp(), FieldStorageConfigEntityUnitTest\setUp(), BreadcrumbManagerTest\setUp(), EntityDisplayModeBaseUnitTest\setUp(), LanguageConfigOverrideTest\setUp(), RecursiveContextualValidatorTest\setUp(), ConfigFactoryTest\setUp(), UserSessionTest\setUp(), UrlGeneratorTest\setUp(), UserAccessControlHandlerTest\setUp(), EditorConfigEntityUnitTest\setUp(), ContentLanguageSettingsUnitTest\setUp(), ViewAjaxControllerTest\setUp(), ViewsBlockTest\setUp(), FieldTest\setUp(), DefaultMenuLinkTreeManipulatorsTest\setUp(), EntityTest\setUp(), UrlTest\setUp(), FieldConfigEntityUnitTest\setUp(), LocaleLookupTest\setUp(), MenuActiveTrailTest\setUp(), EntityListBuilderTest\setUp(), InstallerTestBase\setUp(), EntityViewsDataTest\setUp(), ViewExecutableTest\setUp(), EntityTypeBundleInfoTest\setUp(), TokenTest\setUp(), EntityUnitTest\setUp(), PathBasedBreadcrumbBuilderTest\setUp(), AccessManagerTest\setUp(), ConfigEntityBaseUnitTest\setUp(), SqlContentEntityStorageTest\setUp(), ContentEntityBaseUnitTest\setUp(), RendererTestBase\setUp(), EntityAdapterUnitTest\setUp(), ConfigEntityStorageTest\setUp(), FieldPluginBaseTest\setUp(), EntityFieldManagerTest\setUp(), PathPluginBaseTest\setupContainer(), BlockPageVariantTest\setUpDisplayVariant(), KeyValueEntityStorageTest\setUpKeyValueEntityStorage(), UserBulkFormTest\tearDown(), NodeBulkFormTest\tearDown(), CacheableMetadataTest\testAddCacheableDependency(), BubbleableMetadataTest\testAddCacheableDependency(), ViewListBuilderTest\testBuildRowEntityList(), EntityUnitTest\testCacheContexts(), ConfirmFormHelperTest\testCancelLinkDestination(), UserBulkFormTest\testConstructor(), NodeBulkFormTest\testConstructor(), MigrateSourceTest\testCount(), FieldItemListTest\testEquals(), FormBuilderTest\testFormTokenCacheability(), LinkGeneratorTest\testGenerateUrlWithQuotes(), TranslationTest\testGet(), ControllerBaseTest\testGetConfig(), ContextTypedDataTest\testGetContextValue(), ContainerDerivativeDiscoveryDecoratorTest\testGetDefinitions(), DefaultTableMappingTest\testGetFieldTableName(), FormBuilderTest\testGetFormIdWithInjectedClassName(), EntityTypeManagerTest\testGetFormObject(), LanguageUnitTest\testIsDefault(), ViewUIObjectTest\testIsLocked(), CommentLockTest\testLocks(), CacheableMetadataTest\testMerge(), BubbleableMetadataTest\testMerge(), FormAjaxSubscriberTest\testOnExceptionBrokenPostRequest(), MachineNameTest\testProcessMachineName(), FormSubmitterTest\testRedirectWithoutResult(), FormSubmitterTest\testRedirectWithUrl(), UrlRewritingTest\testRelativeFileURL(), RoleAccessCheckTest\testRoleAccess(), ViewUIObjectTest\testSerialization(), DrupalTest\testSetContainer(), ContextTest\testSetContextValueCacheableDependency(), TrustedRedirectResponseTest\testSetTargetUrlWithUntrustedUrl(), RolesRidTest\testTitleQuery(), and DateHelperTest\testWeekDaysOrdered().

static state ( )
static

Returns the state storage service.

Use this to store machine-generated data, local to a specific environment that does not need deploying and does not need human editing; for example, the last time cron was run. Data which needs to be edited by humans and needs to be the same across development, production, etc. environments (for example, the system maintenance message) should use ::config() instead.

Returns

Referenced by EventSubscriber\__construct(), JsCollectionRenderer\__construct(), PrivateKey\__construct(), BrokenInboundPathProcessor\__construct(), MaintenanceMode\__construct(), TestClass\__construct(), SiteMaintenanceModeForm\__construct(), PathRootsSubscriber\__construct(), UpdateManagerUpdate\__construct(), TestAccessBlock\__construct(), EntityTestDefinitionSubscriber\__construct(), AliasWhitelist\__construct(), PluralFormula\__construct(), TranslationStatusForm\__construct(), SqlBase\__construct(), AutomatedCron\__construct(), ViewsLocalTask\__construct(), CssCollectionOptimizer\__construct(), JsCollectionOptimizer\__construct(), MatcherDumper\__construct(), TranslateFormBase\__construct(), CommentStatistics\__construct(), PathPluginBase\__construct(), UpdateReady\__construct(), RoutePreloader\__construct(), FieldConfigStorage\__construct(), CronForm\__construct(), RouteSubscriber\__construct(), EntityComment\__construct(), CssCollectionRenderer\__construct(), TestToolkit\__construct(), FieldStorageConfigStorage\__construct(), SiteConfigureForm\__construct(), ThemeInstaller\__construct(), Cron\__construct(), TestSqlBase\__construct(), DbUpdateController\__construct(), RouteProvider\__construct(), ThemeHandler\__construct(), ColorTest\_testColor(), CronAccessCheck\access(), EventSubscriber\addCollections(), MaintenanceMode\applies(), FileManagedTestBase\assertFileHooksCalled(), FileManagedUnitTestBase\assertFileHooksCalled(), WebTestBase\assertMail(), PageRenderTest\assertPageRenderHookExceptions(), EntityTestUpdate\baseFieldDefinitions(), DbUpdateController\batchFinished(), TestAccessBlock\blockAccess(), BubblingTest\bubblingNestedPreRenderCached(), BubblingTest\bubblingNestedPreRenderUncached(), TestCacheBlock\build(), TestHtmlBlock\build(), SearchEmbeddedForm\buildForm(), SiteMaintenanceModeForm\buildForm(), UpdateManagerUpdate\buildForm(), TranslationStatusForm\buildForm(), CronForm\buildForm(), EntityTestUpdate\bundleFieldDefinitions(), FileTestAccessControlHandler\checkAccess(), EventSubscriber\configEventRecorder(), FileManagedTestBase\createFile(), FileManagedUnitTestBase\createFile(), WebTestBase\cronRun(), JsCollectionOptimizer\deleteAll(), CssCollectionOptimizer\deleteAll(), TestClass\destruct(), ImageStylesPathAndUrlTest\doImageStyleUrlAndPathTests(), WebTestBase\drupalGetMails(), ViewTestBase\enableViewsTestModule(), field_purge_batch(), field_purge_field(), field_purge_field_storage(), PrivateKey\get(), JsCollectionOptimizer\getAll(), CssCollectionOptimizer\getAll(), PathPluginBase\getAlteredRouteNames(), RouteProvider\getCandidateOutlines(), ConfigOverrideIntegrationTestCacheContext\getContext(), SqlBase\getDatabase(), EntityTestStorageSchema\getEntitySchema(), EntityUnitTestBase\getHooksInfo(), CommentStatistics\getRankingInfo(), EntityTestStorageSchema\getSharedTableFieldSchema(), EntityTestViewsData\getViewsData(), EntityTestDefinitionSubscriber\hasEventFired(), hook_cron(), hook_install_tasks(), hook_modules_installed(), hook_modules_uninstalled(), hook_requirements(), ToolkitTestBase\imageTestReset(), EntityComment\import(), ThemeInstaller\install(), ConfigTest\isInstallable(), Module\isInstalled(), Theme\isInstalled(), NodeType\isLocked(), ThemeHandler\listInfo(), FieldConfigStorage\loadByProperties(), PluralFormula\loadFormulae(), AliasWhitelist\loadMenuPathRoots(), CacheabilityMetadataConfigOverride\loadOverrides(), TestToolkit\logCall(), TestMailCollector\mail(), MigrateEventsTest\mapDeleteEventRecorder(), MigrateEventsTest\mapSaveEventRecorder(), EventSubscriber\onConfigDelete(), EventSubscriber\onConfigImporterMissingContentOne(), EventSubscriber\onConfigImporterMissingContentTwo(), EventSubscriber\onConfigImporterValidate(), EventSubscriber\onConfigSave(), ConfigTest\onDependencyRemoval(), RoutePreloader\onFinishedRoutes(), RoutePreloader\onRequest(), PathRootsSubscriber\onRouteFinished(), AutomatedCron\onTerminate(), CssCollectionOptimizer\optimize(), JsCollectionOptimizer\optimize(), MigrateEventsTest\postImportEventRecorder(), MigrateEventsTest\postRowSaveEventRecorder(), FieldConfig\preDelete(), FieldStorageConfig\preDelete(), MigrateEventsTest\preImportEventRecorder(), MigrateEventsTest\preRowSaveEventRecorder(), HtmlResponseAttachmentsProcessor\processAssetLibraries(), BrokenInboundPathProcessor\processInbound(), ViewsTestCacheContextFilter\query(), ThemeHandler\rebuildThemeData(), ThemeHandler\refreshInfo(), EntityUnitTestBase\refreshServices(), JsCollectionRenderer\render(), CssCollectionRenderer\render(), RouteSubscriber\routeRebuildFinished(), RouteSubscriber\routes(), EntityTestForm\save(), PrivateKey\set(), Cron\setCronLastTime(), PoDatabaseWriter\setHeader(), PluralFormula\setPluralFormula(), LocaleUpdateBase\setTranslationFiles(), ModulesListFormWebTest\setUp(), CacheabilityMetadataConfigOverrideIntegrationTest\setUp(), FieldModuleUninstallValidatorTest\setUp(), LanguageTestBase\setUp(), PathRootsSubscriberTest\setUp(), LocaleTranslationProjectsTest\setUp(), PrivateKeyTest\setUp(), MigrateEventsTest\setUp(), BulkFormAccessTest\setUp(), ThemeInfoTest\setUp(), PathPluginBaseTest\setUp(), RoutePreloaderTest\setUp(), BlockViewBuilderTest\setUp(), ThemeHandlerTest\setUp(), FieldFieldTest\setUp(), ViewsEntitySchemaSubscriberIntegrationTest\setUp(), RouteProviderTest\setUp(), ViewKernelTestBase\setUpFixtures(), ConfigTest\sort(), EntityTestDefinitionSubscriber\storeEvent(), SearchEmbeddedForm\submitForm(), FileTestForm\submitForm(), SiteMaintenanceModeForm\submitForm(), UpdateReady\submitForm(), SiteConfigureForm\submitForm(), TranslationStatusForm\submitForm(), MatcherDumperTest\testAddAdditionalRoutes(), MatcherDumperTest\testAddRoutes(), CronRunTest\testAutomatedCron(), EntityFieldTest\testBaseFieldNonExistingBaseField(), BlockViewBuilderTest\testBasicRendering(), BlockTest\testBlockAccess(), BlockViewBuilderTest\testBlockViewBuilderBuildAlter(), BlockViewBuilderTest\testBlockViewBuilderCache(), BlockViewBuilderTest\testBlockViewBuilderViewAlter(), BookTest\testBookNavigationCacheContext(), RendererBubblingTest\testBubblingWithPrerender(), NodeAccessGrantsCacheContextTest\testCacheContext(), CacheTest\testCacheContextIntegration(), BlockCacheTest\testCachePermissions(), BlockCacheTest\testCachePerPage(), BlockCacheTest\testCachePerRole(), BlockCacheTest\testCachePerUser(), FormCacheTest\testCacheToken(), MailTest\testCancelMessage(), RouteProviderTest\testCandidateOutlines(), LanguageFallbackTest\testCandidates(), ThemeInfoTest\testChanges(), PathPluginBaseTest\testCollectRoutesWithDisplayReturnResponse(), CommentPreviewTest\testCommentPreview(), ConfigEventsTest\testConfigEvents(), CacheabilityMetadataConfigOverrideIntegrationTest\testConfigOverride(), LanguageConfigOverrideImportTest\testConfigOverrideImportEvents(), ConfigEventsTest\testConfigRenameEvent(), LocaleConfigTranslationImportTest\testConfigTranslationImport(), SqlBaseTest\testConnectionTypes(), EntityTypeConstraintsTest\testConstraintDefinition(), MatcherDumperTest\testCreate(), FieldCrudTest\testCreateFieldCustomStorage(), EntityDefinitionUpdateTest\testCreateIndexUsingEntityStorageSchemaWithData(), CronRunTest\testCronExceptions(), CronRunTest\testCronRun(), ConfigEntityTest\testCRUD(), ModuleHandlerTest\testDependencyResolution(), ServiceDestructionTest\testDestructionUnused(), ServiceDestructionTest\testDestructionUsed(), GetFilenameUnitTest\testDrupalGetFilename(), SaveUploadTest\testDrupalMovingUploadedFileError(), RenderTest\testDrupalRenderThemePreprocessAttached(), MatcherDumperTest\testDump(), EditorSecurityTest\testEditorXssFilterOverride(), SearchEmbedFormTest\testEmbeddedForm(), RouteProviderTest\testEmptyPathCandidatesOutlines(), LocaleUpdateTest\testEnableCustomLanguage(), LocaleUpdateTest\testEnableLanguage(), LocaleUpdateTest\testEnableUninstallModule(), EntityTranslationFormTest\testEntityFormLanguage(), RouteProviderTest\testExactPathMatch(), StatisticsAdminTest\testExpiredLogs(), FileFieldFormatterAccessTest\testFileAccessHandler(), PageCacheTest\testFormImmutability(), MailTest\testFromAndReplyToHeader(), PrivateKeyTest\testGet(), ViewsLocalTaskTest\testGetDerivativeDefinitionsWithDefaultLocalTask(), ViewsLocalTaskTest\testGetDerivativeDefinitionsWithExistingLocalTask(), ViewsLocalTaskTest\testGetDerivativeDefinitionsWithLocalTask(), ViewsLocalTaskTest\testGetDerivativeDefinitionsWithOverrideRoute(), RouteProviderTest\testGetRoutesByPatternWithLongPatterns(), RouteProviderTest\testGetRoutesPaged(), LinkGenerationTest\testHookLinkAlter(), FieldImportDeleteUninstallTest\testImportAlreadyDeletedUninstall(), FieldImportDeleteTest\testImportDelete(), FieldImportDeleteUninstallUiTest\testImportDeleteUninstall(), FieldImportDeleteUninstallTest\testImportDeleteUninstall(), ConfigImportUITest\testImportValidation(), LocaleUpdateInterfaceTest\testInterface(), ConfigImporterTest\testIsInstallable(), UserEntityCallbacksTest\testLabelCallback(), LanguageConfigOverrideInstallTest\testLanguageConfigOverrideInstall(), LocaleLocaleLookupTest\testLanguageFallbackDefaults(), ConfigEntityListTest\testListUI(), LocaleJavascriptTranslationTest\testLocaleTranslationJsDependencies(), UncaughtExceptionTest\testLoggerException(), EditorManagerTest\testManager(), MatcherDumperTest\testMenuMasksGeneration(), ConfigImporterMissingContentTest\testMissingContent(), DependencyTest\testModuleEnableOrder(), LanguageListModuleInstallTest\testModuleInstallLanguageList(), VersionTest\testModuleVersions(), NodeLanguageTest\testNativeLanguageField(), BlockCacheTest\testNoCache(), NodeAccessLanguageTest\testNodeAccess(), NodeAccessLanguageTest\testNodeAccessPrivate(), NodeAccessRebuildNodeGrantsTest\testNodeAccessRebuildNoAccessModules(), NodeAccessRebuildNodeGrantsTest\testNodeAccessRebuildNodeGrants(), NodeQueryAlterTest\testNodeQueryAlterOverride(), NodeTypeTest\testNodeTypeDeletion(), NodeEntityViewModeAlterTest\testNodeViewModeChange(), RouteSubscriberTest\testOnAlterRoutes(), RoutePreloaderTest\testOnAlterRoutesWithAdminPathNoAdminRoute(), RoutePreloaderTest\testOnAlterRoutesWithAdminRoutes(), RoutePreloaderTest\testOnAlterRoutesWithNonAdminRoutes(), RoutePreloaderTest\testOnRequestNonHtml(), RoutePreloaderTest\testOnRequestOnHtml(), RouteProviderTest\testOutlinePathMatch(), RouteProviderTest\testOutlinePathMatchDefaults(), RouteProviderTest\testOutlinePathMatchDefaultsCollision(), RouteProviderTest\testOutlinePathMatchDefaultsCollision2(), RouteProviderTest\testOutlinePathMatchDefaultsCollision3(), RouteProviderTest\testOutlinePathMatchTrailingSlash(), RouteProviderTest\testOutlinePathMatchZero(), RouteProviderTest\testOutlinePathNoMatch(), UpdatePostUpdateFailingTest\testPostUpdate(), UpdatePostUpdateTest\testPostUpdate(), UrlRewritingTest\testPublicManagedFileURL(), UrlRewritingTest\testRelativeFileURL(), ViewRenderTest\testRender(), CssCollectionRendererUnitTest\testRender(), CssCollectionRendererUnitTest\testRenderInvalidType(), RouteProviderTest\testRouteByName(), RouteSubscriberTest\testRouteRebuildFinished(), PrivateKeyTest\testSet(), UrlRewritingTest\testShippedFileURL(), ShutdownFunctionsTest\testShutdownFunctions(), DrupalTest\testState(), PathRootsSubscriberTest\testSubscribing(), InfoAlterTest\testSystemInfoAlter(), TrackerTest\testTrackerCronIndexing(), TrackerTest\testTrackerUser(), UncaughtExceptionTest\testUncaughtException(), UncaughtExceptionTest\testUncaughtExceptionCustomExceptionHandler(), ModuleHandlerTest\testUninstallContentDependency(), ModuleHandlerTest\testUninstallProfileDependency(), LocaleUpdateTest\testUpdateCheckStatus(), LocaleUpdateCronTest\testUpdateCron(), BlockContextMappingUpdateTest\testUpdateHookN(), UpdatePathTestBaseTest\testUpdateHookN(), UpdateSchemaTest\testUpdateHooks(), LocaleUpdateTest\testUpdateProjects(), UserTokenReplaceTest\testUserTokenReplacement(), UpdatePathWithBrokenRoutingTest\testWithBrokenRouting(), BlockXssTest\testXssInTitle(), DbUpdateController\triggerBatch(), ThemeInstaller\uninstall(), CommentStatistics\update(), and EntitySchemaTest\updateEntityType().

static token ( )
static
static translation ( )
static

Returns the string translation service.

Returns
The string translation manager.

Referenced by ContentTranslationMetadataWrapper\__construct(), LanguageRequestSubscriber\__construct(), Translation\__construct(), UserLoginTest\assertFailedLogin(), FileManagedTestBase\assertFileHookCalled(), FileManagedUnitTestBase\assertFileHookCalled(), ConfigSync\finishBatch(), ContentTranslationMetadataWrapper\getAuthor(), ContentTranslationMetadataWrapper\getChangedTime(), ContentTranslationMetadataWrapper\getCreatedTime(), ContentTranslationMetadataWrapper\getSource(), TranslationString\getString(), hook_node_search_result(), ContentTranslationMetadataWrapper\isOutdated(), ContentTranslationMetadataWrapper\isPublished(), TranslationString\isTranslation(), LanguageRequestSubscriber\onKernelRequestLanguage(), CommentNonNodeTest\performCommentOperation(), CommentTestBase\performCommentOperation(), NodeType\postSave(), ConfigImporterFieldPurger\process(), ContentTranslationMetadataWrapper\setAuthor(), ContentTranslationMetadataWrapper\setChangedTime(), ContentTranslationMetadataWrapper\setCreatedTime(), ContentTranslationMetadataWrapper\setFieldOnlyIfTranslatable(), ContentTranslationMetadataWrapper\setOutdated(), ContentTranslationMetadataWrapper\setPublished(), ContentTranslationMetadataWrapper\setSource(), TranslationString\setString(), StringTranslationTraitTest\setUp(), BookManagerTest\setUp(), TranslateEditForm\submitForm(), BlockContentCreationTest\testBlockDelete(), ForumTest\testForum(), LocalePluralFormatTest\testGetPluralFormat(), AggregatorAdminTest\testOverviewPage(), LocalePluralFormatTest\testPluralEditDateFormatter(), LocalePluralFormatTest\testPluralEditExport(), LocaleImportFunctionalTest\testStandalonePoFile(), DrupalTest\testTranslation(), and UninstallTest\testUninstallPage().

Here is the caller graph for this function:

static transliteration ( )
static

Returns the transliteration service.

Returns
The transliteration manager.

Referenced by MachineNameController\__construct(), MachineName\__construct(), MachineNameTest\setUp(), MachineNameTest\testMachineNames(), DrupalTest\testTransliteration(), MachineName\transform(), MachineNameController\transliterate(), and BlockBase\transliteration().

Here is the caller graph for this function:

static typedDataManager ( )
static

Returns the typed data manager service.

Use the typed data manager service for creating typed data objects.

Returns
The typed data manager.
See Also
::create()

Referenced by FieldTypePluginManager\__construct(), RecursiveValidator\__construct(), FieldItemBase\__construct(), RecursiveContextualValidator\__construct(), EntityTypeBundleInfo\__construct(), EntityFieldManager\__construct(), EntityTypeBundleInfo\clearCachedBundles(), EntityFieldManager\clearCachedFieldDefinitions(), DataReferenceDefinition\create(), FieldTypePluginManager\createFieldItem(), FieldTypePluginManager\createFieldItemList(), ListDataDefinition\createFromItemType(), FieldTypePluginManager\createInstance(), TypedDataTest\createTypedData(), ListDataDefinition\getClass(), DataDefinition\getClass(), StringItem\getConstraints(), EmailItem\getConstraints(), TextItem\getConstraints(), TelephoneItem\getConstraints(), IntegerItem\getConstraints(), NumericItemBase\getConstraints(), DecimalItem\getConstraints(), TestItem\getConstraints(), DataDefinition\getConstraints(), BaseFieldDefinition\getFieldItemClass(), FieldStorageConfig\getFieldItemClass(), Entity\getTypedData(), Element\getTypedDataManager(), RecursiveValidator\inContext(), SqlContentEntityStorage\readFieldItemsToPurge(), ExecutablePluginBase\setConfig(), Element\setTypedDataManager(), ContextTest\setUp(), RecursiveContextualValidatorTest\setUp(), EntityTypeBundleInfoTest\setUp(), ContentEntityBaseUnitTest\setUp(), EntityAdapterUnitTest\setUp(), EntityFieldManagerTest\setUp(), ContextTest\setUpDefaultValue(), RecursiveContextualValidatorTest\testBasicValidateWithConstraint(), RecursiveContextualValidatorTest\testBasicValidateWithMultipleConstraints(), RecursiveContextualValidatorTest\testBasicValidateWithoutConstraints(), EntityTypeBundleInfoTest\testClearCachedBundles(), EntityFieldManagerTest\testClearCachedFieldDefinitions(), TypedDataDefinitionTest\testDataReferences(), EntityFieldTest\testDataTypes(), ContextTest\testDefaultDataValue(), ContextTest\testDefaultValue(), EntityTypedDataDefinitionTest\testEntities(), EntityFieldTest\testEntityConstraintValidation(), EntityTypedDataDefinitionTest\testEntityReferences(), EntityTypedDataDefinitionTest\testFields(), EntityTypeBundleInfoTest\testGetAllBundleInfo(), TypedDataDefinitionTest\testLists(), TypedDataDefinitionTest\testMaps(), ContextTest\testNullDataValue(), ContextTest\testSetContextValueCacheableDependency(), FilterAPITest\testTypedDataAPI(), DrupalTest\testTypedDataManager(), TypedDataTest\testTypedDataValidation(), and RecursiveContextualValidator\validateNode().

static unsetContainer ( )
static

Unsets the global container.

Referenced by DrupalKernelTest\prepareConfigDirectories(), BrowserTestBase\prepareEnvironment(), ContentNegotiationRoutingTest\setUp(), and UnitTestCase\setUp().

Here is the caller graph for this function:

static url (   $route_name,
  $route_parameters = array(),
  $options = array(),
  $collect_bubbleable_metadata = FALSE 
)
static

Generates a URL string for a specific route based on the given parameters.

This method is a convenience wrapper for generating URL strings for URLs that have Drupal routes (that is, most pages generated by Drupal) using the object. See ::fromRoute() for detailed documentation. For non-routed local URIs relative to the base path (like robots.txt) use Url::fromUri()->toString() with the base: scheme.

Parameters
string$route_nameThe name of the route.
array$route_parameters(optional) An associative array of parameter names and values.
array$options(optional) An associative array of additional options.
bool$collect_bubbleable_metadata(optional) Defaults to FALSE. When TRUE, both the generated URL and its associated bubbleable metadata are returned.
Returns
string| A string containing a URL to the given path. When $collect_bubbleable_metadata is TRUE, a GeneratedUrl object is returned, containing the generated URL plus bubbleable metadata.
See Also
::generateFromRoute()
::fromRoute()
::fromUri()
Deprecated:
as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Instead create a object directly, for example using Url::fromRoute().

Referenced by RedirectCommand\__construct(), Link\__construct(), CommentAttributesTest\_testBasicCommentRdfaMarkup(), StringFieldTest\_testTextfieldWidgets(), PathController\adminOverview(), UserLoginTest\assertFailedLogin(), LinkFieldTest\assertValidEntries(), UserLoginBlock\build(), ViewsMenuLinkForm\buildConfigurationForm(), ViewsBlockBase\buildConfigurationForm(), DefaultProcessor\buildConfigurationForm(), AjaxTestForm\buildForm(), LocaleSettingsForm\buildForm(), Overview\buildForm(), UpdateSettingsForm\buildForm(), SiteMaintenanceModeForm\buildForm(), OpmlFeedAdd\buildForm(), TranslationStatusForm\buildForm(), SearchBlockForm\buildForm(), AccountSettingsForm\buildForm(), CronForm\buildForm(), PerformanceForm\buildForm(), SimpletestResultsForm\buildForm(), SearchPageListBuilder\buildForm(), WizardPluginBase\buildForm(), Block\buildOptionsForm(), PathPluginBase\buildOptionsForm(), MenuForm\buildOverviewForm(), ContactController\contactSitePage(), WebTestBase\curlExec(), CommentManager\forbiddenMessage(), SetCustomize\form(), AggregatorTestBase\getEmptyOpml(), PrivateStream\getExternalUrl(), AggregatorTestBase\getFeedEditArray(), AggregatorTestBase\getFeedEditObject(), HistoryTest\getNodeReadTimestamps(), BlockContentAddLocalAction\getOptions(), AggregatorTestBase\getValidOpml(), hook_help(), hook_requirements(), HistoryTest\markNodeAsRead(), MaintenanceModeSubscriber\onKernelRequestMaintenance(), SystemController\overview(), RedirectCommand\render(), VocabularyListBuilder\render(), NodeContextualLinksTest\renderContextualLinks(), ContentTranslationContextualLinksTest\renderContextualLinks(), CommentNewIndicatorTest\renderNewCommentsNodeLinks(), UserController\resetPass(), LanguageAddForm\save(), Link\setUrl(), CommentItem\storageSettingsForm(), CronForm\submitForm(), SwitchShortcutSet\submitForm(), AddFeedTest\testAddFeed(), BlockTest\testBlockCacheTags(), BlockContentTypeTest\testBlockContentTypeEditing(), BooleanFieldTest\testBooleanField(), FieldWebTest\testClickSorting(), CommentInterfaceTest\testCommentInterface(), CommentTypeTest\testCommentTypeEditing(), DateTimeFieldTest\testDateField(), DateTimeTest\testDateFormatConfiguration(), SearchConfigSettingsFormTest\testDefaultSearchPageOrdering(), DeleteFeedItemTest\testDeleteFeedItem(), LanguageUrlRewritingTest\testDomainNameNegotiationPort(), EmailFieldTest\testEmailField(), EntityReferenceAdminTest\testFieldAdminHandler(), FilterAdminTest\testFormatAdmin(), BrowserTest\testGetAbsoluteUrl(), AssertContentTraitTest\testGetTextContent(), ViewsIntegrationTest\testIntegration(), LocaleUpdateInterfaceTest\testInterface(), LanguageCustomLanguageConfigurationTest\testLanguageConfiguration(), LanguageConfigurationTest\testLanguageConfiguration(), LanguageListTest\testLanguageList(), RouterTest\testLeadingSlashes(), LinkFieldTest\testLinkFormatter(), LinkFieldTest\testLinkSeparateFormatter(), LinkFieldTest\testLinkTitle(), ToolbarAdminMenuTest\testLocaleTranslationSubtreesHashCacheClear(), NodeAttributesTest\testNodeAttributes(), TaxonomyDefaultArgumentTest\testNodePath(), ImageFieldAttributesTest\testNodeTeaser(), FileFieldAttributesTest\testNodeTeaser(), EntityReferenceFieldAttributesTest\testNodeTeaser(), ManageDisplayTest\testNoFieldsDisplayOverview(), NumberFieldTest\testNumberDecimalField(), NumberFieldTest\testNumberFloatField(), NumberFieldTest\testNumberIntegerField(), PageCacheTest\testPageCacheTags(), PageCacheTest\testPageCacheTagsIndependentFromCacheabilityHeaders(), FeedParserTest\testRedirectFeed(), RedirectTest\testRedirectFromErrorPages(), BlockContentTypeTest\testsBlockContentAddTypes(), PagePreviewTest\testSimultaneousPreview(), SiteMaintenanceTest\testSiteMaintenance(), ContactSitewideTest\testSiteWideContact(), LocaleImportFunctionalTest\testStandalonePoFile(), LocaleTranslationUiTest\testStringTranslation(), TokenReplaceUnitTest\testSystemSiteTokenReplacement(), TaxonomyAttributesTest\testTaxonomyTermRdfaAttributes(), TourTest\testTourFunctionality(), LanguageBrowserDetectionTest\testUIBrowserLanguageMappings(), DrupalTest\testUrl(), LanguageUILanguageNegotiationTest\testUrlLanguageFallback(), UserBlocksTest\testUserLoginBlock(), UserPasswordResetTest\testUserResetPasswordTextboxFilled(), UserTokenReplaceTest\testUserTokenReplacement(), UserLoginForm\validateFinal(), LocaleSettingsForm\validateForm(), and EntityReferenceTaxonomyTermRssFormatter\viewElements().

static urlGenerator ( )
static

Returns the url generator service.

Returns
The url generator service.

Referenced by ImageStyleListBuilder\__construct(), FormSubmitter\__construct(), RedirectDestination\__construct(), MetadataBubblingUrlGenerator\__construct(), LinkGenerator\__construct(), ViewsForm\__construct(), MaintenanceModeSubscriber\__construct(), BlockContentBlock\__construct(), CommentManager\__construct(), BlockContentBlock\build(), CommentManager\forbiddenMessage(), LinkGenerator\generate(), MetadataBubblingUrlGenerator\generateFromRoute(), RedirectDestination\get(), MetadataBubblingUrlGenerator\getContext(), FormSubmitterTest\getFormSubmitter(), TwigExtension\getPath(), MetadataBubblingUrlGenerator\getPathFromRoute(), MetadataBubblingUrlGenerator\getRouteDebugMessage(), TwigExtension\getUrl(), MaintenanceModeSubscriber\onKernelRequestMaintenance(), FormSubmitter\redirectForm(), ImageStyleListBuilder\render(), MetadataBubblingUrlGenerator\setContext(), EntityUrlTest\setUp(), RouteProcessorCurrentIntegrationTest\setUp(), RouteNoneTest\setUp(), FormSubmitterTest\setUp(), RedirectDestinationTest\setUp(), UrlTest\setUp(), LinkGeneratorTest\setUp(), FieldPluginBaseTest\setUp(), FormTestBase\setUp(), FieldPluginBaseTest\setUpUrlIntegrationServices(), TwigExtension\setUrlGenerator(), MetadataBubblingUrlGenerator\supports(), UserAccountLinksTest\testAccountPageTitles(), LinkGeneratorTest\testGenerate(), LinkGeneratorTest\testGenerateActive(), LinkGeneratorTest\testGenerateAttributes(), LinkGeneratorTest\testGenerateBubbleableMetadata(), LinkGeneratorTest\testGenerateExternal(), LinkGeneratorTest\testGenerateHrefs(), LinkGeneratorTest\testGenerateOptions(), LinkGeneratorTest\testGenerateParametersAsQuery(), LinkGeneratorTest\testGenerateQuery(), LinkGeneratorTest\testGenerateUrlWithQuotes(), LinkGeneratorTest\testGenerateWithHtml(), LinkGeneratorTest\testGenerateXss(), ConfigNamesMapperTest\testGetBasePath(), ConfigNamesMapperTest\testGetOverviewPath(), UrlTest\testInvalidEntityUriParameter(), FunctionsTest\testLinks(), RenderElementTypesTest\testMoreLink(), FormSubmitterTest\testRedirectWithNull(), FormSubmitterTest\testRedirectWithoutResult(), FormSubmitterTest\testRedirectWithUrl(), FieldPluginBaseTest\testRenderAsLinkWithUrlAndOptions(), EntityUrlTest\testUrl(), DrupalTest\testUrlGenerator(), and Url\urlGenerator().

Field Documentation

const CORE_COMPATIBILITY = '8.x'
const CORE_MINIMUM_SCHEMA_VERSION = 8000

Core minimum schema version.


The documentation for this class was generated from the following file: