Primary tabs
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
Name | Type | Namespace | Location | Description | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|
WidgetPluginManager | class |
Drupal\ |
core/ |
Plugin type manager for field widgets. | 2 | ||
WidgetOverflowTest | class |
Drupal\ |
core/ |
Tests that uploads in the 'media_library_widget' works as expected. | |||
WidgetOEmbedTest | class |
Drupal\ |
core/ |
Tests that oEmbed media can be added in the Media library's widget. | |||
WidgetInterface | interface |
Drupal\ |
core/ |
Interface definition for field widget plugins. | 1 | 1 | 1 |
WidgetBaseInterface | interface |
Drupal\ |
core/ |
Base interface definition for "Field widget" plugins. | 1 | ||
WidgetBase | abstract class |
Drupal\ |
core/ |
Base class for 'Field widget' plugin implementations. | 1 | 1 | |
WidgetAnonymousTest | class |
Drupal\ |
core/ |
Tests that the widget works as expected for anonymous users. | |||
WidgetAccessTest | class |
Drupal\ |
core/ |
Tests the media library UI access. | |||
WideModalRenderer | class |
Drupal\ |
core/ |
Default main content renderer for wide modal dialog requests. | 3 | ||
WhoIsOnlineBlockTest | class |
Drupal\ |
core/ |
Tests the Who's Online Block. | |||
WeightTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\Core\Render\Element\Weight @group Render | |||
Weight | class |
Drupal\ |
core/ |
1 | |||
WebDriverWebAssert | class |
Drupal\ |
core/ |
Defines a JSWebAssert with no support for status code and header assertions. | |||
WebDriverTestBaseTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\FunctionalJavascriptTests\WebDriverTestBase @group Test @runTestsInSeparateProcesses | |||
WebDriverTestBase | abstract class |
Drupal\ |
core/ |
Runs a browser test using a driver that supports JavaScript. | 149 | 144 | |
WebDriverCurlService | class |
Drupal\ |
core/ |
Provides a curl service to interact with Selenium driver. | 1 | ||
WebAssertTest | class |
Drupal\ |
core/ |
Tests WebAssert functionality. | |||
WaitTerminateTestTrait | trait |
Drupal\ |
core/ |
Provides a method to enforce that requests will wait for the terminate event. | 7 | ||
VocabularyXmlCookieTest | class |
Drupal\ |
core/ |
@group rest | |||
VocabularyXmlBasicAuthTest | class |
Drupal\ |
core/ |
@group rest | |||
VocabularyXmlAnonTest | class |
Drupal\ |
core/ |
@group rest | |||
VocabularyUiTest | class |
Drupal\ |
core/ |
Tests the taxonomy vocabulary interface. | |||
VocabularyTranslationTest | class |
Drupal\ |
core/ |
Tests D7 i18n vocabulary source plugin. | |||
VocabularyTranslationTest | class |
Drupal\ |
core/ |
Tests D6 i18n vocabulary source plugin. | |||
VocabularyTranslationTest | class |
Drupal\ |
core/ |
Tests content translation for vocabularies. | |||
VocabularyTranslation | class |
Drupal\ |
core/ |
Drupal 7 i18n vocabulary translations source from database. | 1 | ||
VocabularyTranslation | class |
Drupal\ |
core/ |
Drupal 6 i18n vocabulary translations source from database. | |||
VocabularyTest | class |
Drupal\ |
core/ |
Tests D7 vocabulary source plugin. | 1 | 1 | |
VocabularyTest | class |
Drupal\ |
core/ |
Tests D6 vocabulary source plugin. | |||
VocabularyTest | class |
Drupal\ |
core/ |
JSON:API integration test for the "vocabulary" config entity type. | |||
VocabularyStorageInterface | interface |
Drupal\ |
core/ |
Defines an interface for vocabulary entity storage classes. | 1 | 4 | |
VocabularyStorage | class |
Drupal\ |
core/ |
Defines a storage handler class for taxonomy vocabularies. | |||
VocabularySerializationTestController | class |
Drupal\ |
core/ |
||||
VocabularySerializationTest | class |
Drupal\ |
core/ |
Regression test for https://www.drupal.org/node/2807263. | |||
VocabularyRouteProvider | class |
Drupal\ |
core/ |
||||
VocabularyResponse | class |
Drupal\ |
core/ |
||||
VocabularyResourceTestBase | abstract class |
Drupal\ |
core/ |
6 | |||
VocabularyResetForm | class |
Drupal\ |
core/ |
Provides confirmation form for resetting a vocabulary to alphabetical order. | |||
VocabularyPerTypeTest | class |
Drupal\ |
core/ |
Tests D6 vocabulary per type source plugin. | |||
VocabularyPerType | class |
Drupal\ |
core/ |
Drupal 6 vocabularies with associated node types source from database. | 1 | ||
VocabularyPermissionsTest | class |
Drupal\ |
core/ |
Tests the taxonomy vocabulary permissions. | |||
VocabularyListBuilder | class |
Drupal\ |
core/ |
Defines a class to build a listing of taxonomy vocabulary entities. | |||
VocabularyLanguageTest | class |
Drupal\ |
core/ |
Tests the language functionality for vocabularies. | |||
VocabularyJsonCookieTest | class |
Drupal\ |
core/ |
@group rest | |||
VocabularyJsonBasicAuthTest | class |
Drupal\ |
core/ |
@group rest | |||
VocabularyJsonAnonTest | class |
Drupal\ |
core/ |
@group rest | |||
VocabularyInterface | interface |
Drupal\ |
core/ |
Provides an interface defining a taxonomy vocabulary entity. | 1 | 12 | |
VocabularyForm | class |
Drupal\ |
core/ |
Base form for vocabulary edit forms. | |||
VocabularyDeleteForm | class |
Drupal\ |
core/ |
Provides a deletion confirmation form for taxonomy vocabulary. | |||
VocabularyCrudTest | class |
Drupal\ |
core/ |
Tests loading, saving and deleting vocabularies. |