Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 10.3.x for interface
  5. Other projects
Title Object type File name Summary
LanguageInterface::LANGCODE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php Language code referring to the default language of data, e.g. of an entity.
LanguageInterface::LANGCODE_NOT_APPLICABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language code used when the marked object has no linguistic content.
LanguageInterface::LANGCODE_NOT_SPECIFIED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language code used when no language is explicitly assigned (yet).
LanguageInterface::LANGCODE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php Language code referring to site's default language.
LanguageInterface::LANGCODE_SYSTEM constant core/lib/Drupal/Core/Language/LanguageInterface.php Special system language code (only applicable to UI language).
LanguageInterface::STATE_ALL constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to all languages.
LanguageInterface::STATE_CONFIGURABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to configurable languages.
LanguageInterface::STATE_LOCKED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to locked languages.
LanguageInterface::STATE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to the site's default language.
LanguageInterface::TYPE_CONTENT constant core/lib/Drupal/Core/Language/LanguageInterface.php The type of language used to define the content language.
LanguageInterface::TYPE_INTERFACE constant core/lib/Drupal/Core/Language/LanguageInterface.php The type of language used to select the user interface.
LanguageInterface::TYPE_URL constant core/lib/Drupal/Core/Language/LanguageInterface.php The type of language used for URLs.
LanguageInterface::VALID_LANGCODE_REGEX constant core/lib/Drupal/Core/Language/LanguageInterface.php A regex for validating language codes according to W3C specifications.
LanguageManagerInterface interface core/lib/Drupal/Core/Language/LanguageManagerInterface.php Common interface for the language manager service.
LanguageManagerInterface.php file core/lib/Drupal/Core/Language/LanguageManagerInterface.php
LanguageManagerInterface::getConfigOverrideLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Gets the current configuration override language.
LanguageManagerInterface::getCurrentLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns the current language for the given type.
LanguageManagerInterface::getDefaultLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a language object representing the site's default language.
LanguageManagerInterface::getDefaultLockedLanguages function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a list of the default locked languages.
LanguageManagerInterface::getDefinedLanguageTypesInfo function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns information about all defined language types.
LanguageManagerInterface::getFallbackCandidates function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns the language fallback candidates for a given context.
LanguageManagerInterface::getLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a language object from the given language code.
LanguageManagerInterface::getLanguageName function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Produced the printed name for a language for display.
LanguageManagerInterface::getLanguages function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a list of languages set up on the site.
LanguageManagerInterface::getLanguageSwitchLinks function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns the language switch links for the given language type.
LanguageManagerInterface::getLanguageTypes function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns an array of the available language types.
LanguageManagerInterface::getNativeLanguages function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a list of languages set up on the site in their native form.
LanguageManagerInterface::getStandardLanguageList function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Some common languages with their English and native names.
LanguageManagerInterface::isLanguageLocked function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Checks whether a language is locked.
LanguageManagerInterface::isMultilingual function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns whether or not the site has more than one language added.
LanguageManagerInterface::reset function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Resets the given language type or all types if none specified.
LanguageManagerInterface::setConfigOverrideLanguage function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Sets the configuration override language.
LanguageNegotiationMethodInterface interface core/modules/language/src/LanguageNegotiationMethodInterface.php Interface for language negotiation classes.
LanguageNegotiationMethodInterface.php file core/modules/language/src/LanguageNegotiationMethodInterface.php
LanguageNegotiationMethodInterface::getLangcode function core/modules/language/src/LanguageNegotiationMethodInterface.php Performs language negotiation.
LanguageNegotiationMethodInterface::persist function core/modules/language/src/LanguageNegotiationMethodInterface.php Notifies the plugin that the language code it returned has been accepted.
LanguageNegotiationMethodInterface::setConfig function core/modules/language/src/LanguageNegotiationMethodInterface.php Injects the configuration factory.
LanguageNegotiationMethodInterface::setCurrentUser function core/modules/language/src/LanguageNegotiationMethodInterface.php Injects the current user.
LanguageNegotiationMethodInterface::setLanguageManager function core/modules/language/src/LanguageNegotiationMethodInterface.php Injects the language manager.
LanguageNegotiatorInterface interface core/modules/language/src/LanguageNegotiatorInterface.php Common interface for language negotiation services.
LanguageNegotiatorInterface.php file core/modules/language/src/LanguageNegotiatorInterface.php
LanguageNegotiatorInterface::getNegotiationMethodInstance function core/modules/language/src/LanguageNegotiatorInterface.php Returns an instance of the specified language negotiation method.
LanguageNegotiatorInterface::getNegotiationMethods function core/modules/language/src/LanguageNegotiatorInterface.php Returns the language negotiation methods enabled for a language type.
LanguageNegotiatorInterface::getPrimaryNegotiationMethod function core/modules/language/src/LanguageNegotiatorInterface.php Returns the ID of the language type's primary language negotiation method.
LanguageNegotiatorInterface::initializeType function core/modules/language/src/LanguageNegotiatorInterface.php Initializes the specified language type.
LanguageNegotiatorInterface::isNegotiationMethodEnabled function core/modules/language/src/LanguageNegotiatorInterface.php Checks whether a language negotiation method is enabled for a language type.
LanguageNegotiatorInterface::METHOD_ID constant core/modules/language/src/LanguageNegotiatorInterface.php The language negotiation method id for the language negotiator itself.
LanguageNegotiatorInterface::purgeConfiguration function core/modules/language/src/LanguageNegotiatorInterface.php Resave the configuration to purge missing negotiation methods.
LanguageNegotiatorInterface::reset function core/modules/language/src/LanguageNegotiatorInterface.php Resets the negotiated languages and the method instances.
LanguageNegotiatorInterface::saveConfiguration function core/modules/language/src/LanguageNegotiatorInterface.php Saves a list of language negotiation methods for a language type.

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