18 calls to Drupal::hasService()
- Connection::dispatchEvent in core/
lib/ Drupal/ Core/ Database/ Connection.php - Dispatches a database API event via the container dispatcher.
- Database::getDriverList in core/
lib/ Drupal/ Core/ Database/ Database.php - Returns the list provider for available database drivers.
- DatabaseDriver::load in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php - Loads the main extension file, if any.
- ExtensionDiscovery::scan in core/
lib/ Drupal/ Core/ Extension/ ExtensionDiscovery.php - Discovers available extensions of a given type.
- FormBuilder::currentUser in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Gets the current active user.
- ModuleInstaller::install in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Installs a given list of modules.
- Node::preDelete in core/
modules/ node/ src/ Entity/ Node.php - Acts on entities before they are deleted and before hooks are invoked.
- package_manager_requirements in core/
modules/ package_manager/ package_manager.install - Implements hook_requirements().
- PluralTranslatableMarkup::getPluralIndex in core/
lib/ Drupal/ Core/ StringTranslation/ PluralTranslatableMarkup.php - Gets the plural index through the gettext formula.
- PublicStream::basePath in core/
lib/ Drupal/ Core/ StreamWrapper/ PublicStream.php - Returns the base path for public://.
- StorageComparer::__construct in core/
lib/ Drupal/ Core/ Config/ StorageComparer.php - Constructs the Configuration storage comparer.
- StringTranslationTrait::getNumberOfPlurals in core/
lib/ Drupal/ Core/ StringTranslation/ StringTranslationTrait.php - Returns the number of plurals supported by a given language.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- WorkspaceManager::doSwitchWorkspace in core/
modules/ workspaces/ src/ WorkspaceManager.php - Switches the current workspace.
- WorkspaceSafeFormTrait::isWorkspaceSafeEntity in core/
lib/ Drupal/ Core/ Entity/ Form/ WorkspaceSafeFormTrait.php - Determines whether an entity used in a form is workspace-safe.
- WorkspaceSafeFormTrait::isWorkspaceSafeEntityType in core/
lib/ Drupal/ Core/ Entity/ Form/ WorkspaceSafeFormTrait.php - Determines whether an entity type used in a form is workspace-safe.
- _drupal_log_error in core/
includes/ errors.inc - Logs a PHP error or exception and displays an error page in fatal cases.
- _help_search_update in core/
modules/ help/ help.module - Ensure that search is updated when extensions are installed or uninstalled.