Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
Drupal::accessManager function core/lib/Drupal.php Returns the access manager service.
Drupal::cache function core/lib/Drupal.php Returns the requested cache bin.
Drupal::classResolver function core/lib/Drupal.php Retrieves the class resolver.
Drupal::config function core/lib/Drupal.php Retrieves a configuration object.
Drupal::configFactory function core/lib/Drupal.php Retrieves the configuration factory.
Drupal::CORE_COMPATIBILITY constant core/lib/Drupal.php Core API compatibility.
Drupal::CORE_MINIMUM_SCHEMA_VERSION constant core/lib/Drupal.php Core minimum schema version.
Drupal::csrfToken function core/lib/Drupal.php Returns the CSRF token manager service.
Drupal::currentUser function core/lib/Drupal.php Gets the current active user.
Drupal::database function core/lib/Drupal.php Returns the current primary database.
Drupal::destination function core/lib/Drupal.php Returns the redirect destination helper.
Drupal::entityDefinitionUpdateManager function core/lib/Drupal.php Returns the entity definition update manager.
Drupal::entityManager function core/lib/Drupal.php Retrieves the entity manager service.
Drupal::entityQuery function core/lib/Drupal.php Returns the entity query object for this entity type.
Drupal::entityQueryAggregate function core/lib/Drupal.php Returns the entity query aggregate object for this entity type.
Drupal::entityTypeManager function core/lib/Drupal.php Retrieves the entity type manager.
Drupal::flood function core/lib/Drupal.php Returns the flood instance.
Drupal::formBuilder function core/lib/Drupal.php Returns the form builder service.
Drupal::getContainer function core/lib/Drupal.php Returns the currently active global container.
Drupal::hasContainer function core/lib/Drupal.php Returns TRUE if the container has been initialized, FALSE otherwise.
Drupal::hasRequest function core/lib/Drupal.php Indicates if there is a currently active request object.
Drupal::hasService function core/lib/Drupal.php Indicates if a service is defined in the container.
Drupal::httpClient function core/lib/Drupal.php Returns the default http client.
Drupal::installProfile function core/lib/Drupal.php Gets the active install profile.
Drupal::isConfigSyncing function core/lib/Drupal.php Gets the syncing state.
Drupal::keyValue function core/lib/Drupal.php Returns a key/value storage collection.
Drupal::keyValueExpirable function core/lib/Drupal.php Returns an expirable key value store collection.
Drupal::l function core/lib/Drupal.php Renders a link with a given link text and Url object.
Drupal::languageManager function core/lib/Drupal.php Returns the language manager service.
Drupal::linkGenerator function core/lib/Drupal.php Returns the link generator service.
Drupal::lock function core/lib/Drupal.php Returns the locking layer instance.
Drupal::logger function core/lib/Drupal.php Returns a channel logger object.
Drupal::menuTree function core/lib/Drupal.php Returns the menu tree.
Drupal::messenger function core/lib/Drupal.php Returns the messenger.
Drupal::moduleHandler function core/lib/Drupal.php Returns the module handler.
Drupal::pathValidator function core/lib/Drupal.php Returns the path validator.
Drupal::queue function core/lib/Drupal.php Returns a queue for the given queue name.
Drupal::request function core/lib/Drupal.php Retrieves the currently active request object.
Drupal::requestStack function core/lib/Drupal.php Retrieves the request stack.
Drupal::root function core/lib/Drupal.php Gets the app root.
Drupal::routeMatch function core/lib/Drupal.php Retrieves the currently active route match object.
Drupal::service function core/lib/Drupal.php Retrieves a service from the container.
Drupal::setContainer function core/lib/Drupal.php Sets a new global container.
Drupal::state function core/lib/Drupal.php Returns the state storage service.
Drupal::theme function core/lib/Drupal.php Gets the theme service.
Drupal::time function core/lib/Drupal.php Returns the time service.
Drupal::token function core/lib/Drupal.php Returns the token service.
Drupal::translation function core/lib/Drupal.php Returns the string translation service.
Drupal::transliteration function core/lib/Drupal.php Returns the transliteration service.
Drupal::typedDataManager function core/lib/Drupal.php Returns the typed data manager service.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.