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 |
---|---|---|---|---|---|---|---|
UuidInterface | interface |
Drupal\ |
core/ |
Interface for generating UUIDs. | 3 | 11 | |
UuidItem | class |
Drupal\ |
core/ |
Defines the 'uuid' entity field type. | |||
UuidItemTest | class |
Drupal\ |
core/ |
Tests the UUID field. | |||
UuidReferenceInterface | interface |
Drupal\ |
core/ |
Interface for extracting UUID from entity reference data when denormalizing. | |||
UuidResolver | class |
Drupal\ |
core/ |
Resolves entities from data that contains an entity UUID. | 1 | 2 | |
UuidResolverTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\serialization\EntityResolver\UuidResolver @group serialization | |||
UuidTest | class |
Drupal\ |
core/ |
Tests the handling of Universally Unique Identifiers (UUIDs). | |||
ValidateHostnameTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\Core\DrupalKernel @group DrupalKernel | |||
ValidateMigrationStateTest | class |
Drupal\ |
core/ |
Tests the migration state information in module.migrate_drupal.yml. | |||
ValidateMigrationStateTest | class |
Drupal\ |
core/ |
Tests the migration state information in module.migrate_drupal.yml. | |||
ValidateMigrationStateTestTrait | trait |
Drupal\ |
core/ |
Tests the migration state information in module.migrate_drupal.yml. | 2 | ||
ValidationTest | class |
Drupal\ |
core/ |
Tests form processing and alteration via form validation handlers. | |||
ValidConsumer | class |
Drupal\ |
core/ |
||||
ValidConsumerWithExtraArguments | class |
Drupal\ |
core/ |
||||
ValidHandler | class |
Drupal\ |
core/ |
||||
ValidPathConstraintValidator | class |
Drupal\ |
core/ |
Constraint validator for validating system paths. | |||
ValidReferenceConstraintValidator | class |
Drupal\ |
core/ |
Checks if referenced entities are valid. | |||
ValidReferenceConstraintValidatorTest | class |
Drupal\ |
core/ |
Tests validation constraints for ValidReferenceConstraintValidator. | |||
Value | class |
Drupal\ |
core/ |
||||
Variable | class |
Drupal\ |
core/ |
Drupal 6/7 variable source from database. | 4 | 4 | |
Variable | class |
Drupal\ |
core/ |
Provides helpers for dealing with variables. | 8 | ||
VariableMultiRow | class |
Drupal\ |
core/ |
Drupal 6/7 multiple variables source from database. | 1 | 1 | |
VariableMultiRowTest | class |
Drupal\ |
core/ |
Tests the variable multirow source plugin. | |||
VariableTest | class |
Drupal\ |
core/ |
Tests the variable source plugin. | |||
VariableTest | class |
Drupal\ |
core/ |
Test variable export functionality in Variable component. | |||
VariableTestMock | class |
Drupal\ |
core/ |
||||
VariableTranslation | class |
Drupal\ |
core/ |
Drupal 6 i18n_variable source from database. | |||
VariableTranslation | class |
Drupal\ |
core/ |
Drupal 7 variable_store source from database. | |||
VariableTranslationCheckRequirementsTest | class |
Drupal\ |
core/ |
Tests check requirements for variable translation source plugin. | |||
VariableTranslationTest | class |
Drupal\ |
core/ |
Tests the variable source plugin. | |||
VariableTranslationTest | class |
Drupal\ |
core/ |
Tests the variable source plugin. | |||
VariantBase | abstract class |
Drupal\ |
core/ |
Provides a base class for DisplayVariant plugins. | |||
VariantInterface | interface |
Drupal\ |
core/ |
Provides an interface for DisplayVariant plugins. | 3 | ||
VariantManager | class |
Drupal\ |
core/ |
Manages discovery of display variant plugins. | 2 | ||
VariationCacheFactoryInterface | interface |
Drupal\ |
core/ |
An interface defining variation cache factory classes. | |||
VariationCacheInterface | interface |
Drupal\ |
core/ |
Defines an interface for variation cache implementations. | 3 | 7 | |
VariationCacheTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\Core\Cache\VariationCache @group Cache | |||
VegetableInterface | interface |
Drupal\ |
core/ |
Provides an interface for test plugins. | 1 | 1 | |
VendorHardeningPlugin | class |
Drupal\ |
composer/ |
A Composer plugin to clean out your project's vendor directory. | 1 | ||
VendorHardeningPluginTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin @group VendorHardening | |||
Version | final class |
Drupal\ |
core/ |
Plugin annotation @Target("PROPERTY"); | |||
VersionById | class |
Drupal\ |
core/ |
Defines a revision ID implementation for entity revision ID values. | 1 | 2 | |
VersionByRel | class |
Drupal\ |
core/ |
Revision ID implementation for the default or latest revisions. | 2 | 2 | |
VersionNegotiator | class |
Drupal\ |
core/ |
Provides a version negotiator manager. | 1 | 2 | |
VersionNegotiatorInterface | interface |
Drupal\ |
core/ |
Defines the common interface for all version negotiators. | 2 | ||
VersionNegotiatorTest | class |
Drupal\ |
core/ |
The test class for version negotiators. | |||
VersionNotFoundException | class |
Drupal\ |
core/ |
Used when a version ID is valid, but the requested version does not exist. | |||
VersionTest | class |
Drupal\ |
core/ |
Tests module version dependencies. | |||
VerticalTabs | class |
Drupal\ |
core/ |
||||
View | class |
Drupal\ |
core/ |
1 |