Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
LanguageConfigOverrideCrudEvent class Drupal\language\Config core/modules/language/src/Config/LanguageConfigOverrideCrudEvent.php Provides a language override event for event listeners. 1
LanguageConfigOverrideEvents final class Drupal\language\Config core/modules/language/src/Config/LanguageConfigOverrideEvents.php Defines events for language configuration overrides. 1
LanguageConfiguration class Drupal\language\Element core/modules/language/src/Element/LanguageConfiguration.php Defines an element for language configuration for a single field.
LanguageConstructSpacingSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php
LanguageConstructSpacingSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php
LanguageConstructWithParenthesesSniff class SlevomatCodingStandard\Sniffs\ControlStructures vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/LanguageConstructWithParenthesesSniff.php
LanguageContentSettings class Drupal\language\Plugin\migrate\source\d6 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php Drupal 6 i18n node settings from database.
LanguageContentSettings class Drupal\language\Plugin\migrate\source\d7 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php Drupal 7 i18n node settings from database.
LanguageContentSettingsTaxonomyVocabulary class Drupal\language\Plugin\migrate\source\d6 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php Drupal 6 i18n vocabularies source from database.
LanguageContentSettingsTaxonomyVocabulary class Drupal\language\Plugin\migrate\source\d7 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettingsTaxonomyVocabulary.php Drupal 7 i18n vocabularies source from database.
LanguageConverter class Drupal\language\ProxyClass core/modules/language/src/ProxyClass/LanguageConverter.php Provides a proxy class for \Drupal\language\LanguageConverter.
LanguageConverter class Drupal\language core/modules/language/src/LanguageConverter.php Converts parameters for upcasting entity IDs to full objects. 2
LanguageDefault class Drupal\Core\Language core/lib/Drupal/Core/Language/LanguageDefault.php Provides a simple get and set wrapper to the default language object. 5
LanguageDeleteForm class Drupal\language\Form core/modules/language/src/Form/LanguageDeleteForm.php Defines a confirmation form for deleting a language entity. 1
LanguageDomains class Drupal\language\Plugin\migrate\process core/modules/language/src/Plugin/migrate/process/LanguageDomains.php This plugin makes sure that no domain is empty if domain negotiation is used.
LanguageEditForm class Drupal\language\Form core/modules/language/src/Form/LanguageEditForm.php Controller for language edit forms. 1
LanguageException class Drupal\language\Exception core/modules/language/src/Exception/LanguageException.php A base exception thrown in any language system operations. 1
LanguageField class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/LanguageField.php Defines a field handler to translate a language into its readable form.
LanguageFilter class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/LanguageFilter.php Provides filtering by language.
LanguageFormatter class Drupal\Core\Field\Plugin\Field\FieldFormatter core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Plugin implementation of the 'language' formatter.
LanguageFormBase abstract class Drupal\language\Form core/modules/language/src/Form/LanguageFormBase.php Base form for language add and edit forms. 2
LanguageHooks class Drupal\language\Hook core/modules/language/src/Hook/LanguageHooks.php Hook implementations for language.
LanguageInterface interface Drupal\Core\Language core/lib/Drupal/Core/Language/LanguageInterface.php Defines an interface for languages. 2 105
LanguageItem class Drupal\Core\Field\Plugin\Field\FieldType core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php Defines the 'language' entity field item. 1 1
LanguageListBuilder class Drupal\language core/modules/language/src/LanguageListBuilder.php Defines a class to build a listing of language entities. 1
LanguageManager class Drupal\Core\Language core/lib/Drupal/Core/Language/LanguageManager.php Class responsible for providing language support on language-unaware sites. 1 7
LanguageManagerInterface interface Drupal\Core\Language core/lib/Drupal/Core/Language/LanguageManagerInterface.php Common interface for the language manager service. 2 92
LanguageNegotiation class Drupal\language\Attribute core/modules/language/src/Attribute/LanguageNegotiation.php Defines a language negotiation attribute object. 10
LanguageNegotiation class Drupal\language\Annotation core/modules/language/src/Annotation/LanguageNegotiation.php Defines a language negotiation annotation object.
LanguageNegotiation class Drupal\language\Plugin\migrate\process core/modules/language/src/Plugin/migrate/process/LanguageNegotiation.php Processes the arrays for the language types' negotiation methods and weights.
LanguageNegotiationBrowser class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationBrowser.php Class for identifying language from the browser Accept-language HTTP header.
LanguageNegotiationContentEntity class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Class for identifying the content translation language.
LanguageNegotiationMethodBase abstract class Drupal\language core/modules/language/src/LanguageNegotiationMethodBase.php Base class for language negotiation methods. 9 9
LanguageNegotiationMethodInterface interface Drupal\language core/modules/language/src/LanguageNegotiationMethodInterface.php Interface for language negotiation classes. 1
LanguageNegotiationMethodManager class Drupal\language core/modules/language/src/LanguageNegotiationMethodManager.php Manages language negotiation methods. 2
LanguageNegotiationSelected class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSelected.php Class for identifying language from a selected language. 1
LanguageNegotiationSession class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php Identify language from a request/session parameter.
LanguageNegotiationUI class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUI.php Identifies the language from the interface text language selected for page. 2
LanguageNegotiationUrl class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php Class for identifying language via URL prefix or domain. 2
LanguageNegotiationUrlFallback class Drupal\language\Plugin\LanguageNegotiation core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrlFallback.php Determines the language to be assigned to URLs when none is detected. 1
LanguageNegotiationUser class Drupal\user\Plugin\LanguageNegotiation core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php Class for identifying language from the user preferences. 1
LanguageNegotiationUserAdmin class Drupal\user\Plugin\LanguageNegotiation core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Identifies admin language from the user preferences. 1
LanguageNegotiator class Drupal\language core/modules/language/src/LanguageNegotiator.php Class responsible for performing language negotiation. 2
LanguageNegotiatorInterface interface Drupal\language core/modules/language/src/LanguageNegotiatorInterface.php Common interface for language negotiation services. 1 4
LanguageNoneSniff class DrupalPractice\Sniffs\General vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/General/LanguageNoneSniff.php Checks that ['und'] is not used, should be LANGUAGE_NONE.
LanguageReference class Drupal\Core\TypedData\Plugin\DataType core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php Defines the 'language_reference' data type.
LanguageRequestSubscriber class Drupal\language\EventSubscriber core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Sets the $request property on the language manager.
LanguagesCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php Defines the LanguagesCacheContext service, for "per language" caching.
LanguageSelect class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/LanguageSelect.php Provides a form element for selecting a language.
LanguageSelectWidget class Drupal\Core\Field\Plugin\Field\FieldWidget core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Plugin implementation of the 'Language' widget.

Pagination

  • First page
  • Previous page
  • …
  • Page 101
  • Page 102
  • Page 103
  • Page 104
  • Page 105
  • Page 106
  • Page 107
  • Page 108
  • Page 109
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal