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
VariadicValueResolver final class Symfony\Component\HttpKernel\Controller\ArgumentResolver vendor/symfony/http-kernel/Controller/ArgumentResolver/VariadicValueResolver.php Yields a variadic argument's values from the request attributes. 1
VariantBase abstract class Drupal\Core\Display core/lib/Drupal/Core/Display/VariantBase.php Provides a base class for DisplayVariant plugins. 2 2
VariantInterface interface Drupal\Core\Display core/lib/Drupal/Core/Display/VariantInterface.php Provides an interface for DisplayVariant plugins. 3
VariantManager class Drupal\Core\Display core/lib/Drupal/Core/Display/VariantManager.php Manages discovery of display variant plugins.
VariantTrait trait Ramsey\Uuid\Rfc4122 vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php Provides common functionality for handling the variant, as defined by RFC 4122 2
VariationCache class Drupal\Core\Cache core/lib/Drupal/Core/Cache/VariationCache.php Wraps a regular cache backend to make it support cache contexts.
VariationCacheFactory class Drupal\Core\Cache core/lib/Drupal/Core/Cache/VariationCacheFactory.php Defines the variation cache factory.
VariationCacheFactoryInterface interface Drupal\Core\Cache core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php An interface defining variation cache factory classes. 1 2
VariationCacheInterface interface Drupal\Core\Cache core/lib/Drupal/Core/Cache/VariationCacheInterface.php Defines an interface for variation cache implementations. 1 3 4
VarLikeIdentifier class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/VarLikeIdentifier.php Represents a name that is written in source code with a leading dollar, but is not a proper variable. The leading dollar is not stored as part of the name. 1
VarTagValueNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/VarTagValueNode.php 9
Var_ final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php Reflection class for a {var tag in a Docblock. 2
VcsCapableDownloaderInterface interface Composer\Downloader vendor/composer/composer/src/Composer/Downloader/VcsCapableDownloaderInterface.php VCS Capable Downloader interface. 2 1
VcsDownloader abstract class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/VcsDownloader.php @author Jordi Boggiano <j.boggiano@seld.be> 5
VcsDriver abstract class Composer\Repository\Vcs vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriver.php A driver implementation for driver with authentication interaction. 8
VcsDriverInterface interface Composer\Repository\Vcs vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriverInterface.php @author Jordi Boggiano <j.boggiano@seld.be> @internal 1 1
VcsIgnoredFilterIterator final class Symfony\Component\Finder\Iterator vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php @extends \FilterIterator<string, \SplFileInfo>
VcsRepository class Composer\Repository vendor/composer/composer/src/Composer/Repository/VcsRepository.php @author Jordi Boggiano <j.boggiano@seld.be> 2
VendorHardeningExcluder final class Drupal\package_manager\PathExcluder core/modules/package_manager/src/PathExcluder/VendorHardeningExcluder.php Excludes vendor hardening files from stage operations.
VendorHardeningPlugin class Drupal\Composer\Plugin\VendorHardening composer/Plugin/VendorHardening/VendorHardeningPlugin.php A Composer plugin to clean out your project's vendor directory.
VerifyDeprecations trait Doctrine\Deprecations\PHPUnit vendor/doctrine/deprecations/lib/Doctrine/Deprecations/PHPUnit/VerifyDeprecations.php
Version final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/Version.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 10
Version class Composer\Platform vendor/composer/composer/src/Composer/Platform/Version.php @author Lars Strojny <lars@strojny.net> 1
Version final class SebastianBergmann vendor/sebastian/version/src/Version.php 3
Version final class SebastianBergmann\CodeCoverage vendor/phpunit/php-code-coverage/src/Version.php 2
Version class PharIo\Version vendor/phar-io/version/src/Version.php 8
Version final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php Reflection class for a {version tag in a Docblock. 1
VersionBumper class Composer\Package\Version vendor/composer/composer/src/Composer/Package/Version/VersionBumper.php @author Jordi Boggiano <j.boggiano@seld.be> @internal 2
VersionById class Drupal\jsonapi\Revisions core/modules/jsonapi/src/Revisions/VersionById.php Defines a revision ID implementation for entity revision ID values. 2
VersionByRel class Drupal\jsonapi\Revisions core/modules/jsonapi/src/Revisions/VersionByRel.php Revision ID implementation for the default or latest revisions. 1 2
VersionCacheInterface interface Composer\Repository vendor/composer/composer/src/Composer/Repository/VersionCacheInterface.php
VersionCheckCommand final class PHPUnit\TextUI\Command vendor/phpunit/phpunit/src/TextUI/Command/Commands/VersionCheckCommand.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
VersionComparisonOperator final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/VersionComparisonOperator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 7
VersionConstraint interface PharIo\Version vendor/phar-io/version/src/constraints/VersionConstraint.php 2 5
VersionConstraintParser class PharIo\Version vendor/phar-io/version/src/VersionConstraintParser.php 3
VersionConstraintValue class PharIo\Version vendor/phar-io/version/src/VersionConstraintValue.php
VersionControl abstract class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/VersionControl.php 3
VersionGuesser class Composer\Package\Version vendor/composer/composer/src/Composer/Package/Version/VersionGuesser.php Try to guess the current version number based on different VCS configuration. 6
VersionHistoryController class Drupal\Core\Entity\Controller core/lib/Drupal/Core/Entity/Controller/VersionHistoryController.php Provides a controller showing revision history for an entity. 1
VersionHistoryLocalTasks class Drupal\Core\Entity\Plugin\Derivative core/lib/Drupal/Core/Entity/Plugin/Derivative/VersionHistoryLocalTasks.php Provides version history local tasks for revisionable entities. 1
VersionNegotiator class Drupal\jsonapi\Revisions core/modules/jsonapi/src/Revisions/VersionNegotiator.php Provides a version negotiator manager. 2
VersionNegotiatorInterface interface Drupal\jsonapi\Revisions core/modules/jsonapi/src/Revisions/VersionNegotiatorInterface.php Defines the common interface for all version negotiators. 2
VersionNotFoundException class Drupal\jsonapi\Revisions core/modules/jsonapi/src/Revisions/VersionNotFoundException.php Used when a version ID is valid, but the requested version does not exist.
VersionNumber class PharIo\Version vendor/phar-io/version/src/VersionNumber.php
VersionParser class Composer\Package\Version vendor/composer/composer/src/Composer/Package/Version/VersionParser.php 34
VersionParser class Composer\Semver vendor/composer/semver/src/VersionParser.php Version parser. 1 14
Versions class Composer\SelfUpdate vendor/composer/composer/src/Composer/SelfUpdate/Versions.php @author Jordi Boggiano <j.boggiano@seld.be> 2
VersionSelector class Composer\Package\Version vendor/composer/composer/src/Composer/Package/Version/VersionSelector.php Selects the best possible version for a package 7
VersionTrait trait Ramsey\Uuid\Rfc4122 vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php Provides common functionality for handling the version, as defined by RFC 4122 1
VerticalTabs class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/VerticalTabs.php Provides a render element for vertical tabs in a form.

Pagination

  • First page
  • Previous page
  • …
  • Page 204
  • Page 205
  • Page 206
  • Page 207
  • Page 208
  • Page 209
  • Page 210
  • Page 211
  • Page 212
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal