Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
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
File
-
core/
core.api.php, line 1518
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
ViewsRenderPipelineMarkup | final class | Drupal\views\Render | core/ |
Defines an object that passes safe strings through the Views render system. | 10 | |||
ViewsRow | class | Drupal\views\Annotation | core/ |
Defines a Plugin annotation object for views row plugins. | ||||
ViewsRow | class | Drupal\views\Attribute | core/ |
Defines a ViewsRow attribute for plugin discovery. | 12 | |||
ViewsSearchQuery | class | Drupal\search | core/ |
Extends the core SearchQuery to be able to gets its protected values. | 2 | |||
ViewsSelection | class | Drupal\views\Plugin\EntityReferenceSelection | core/ |
Plugin implementation of the 'selection' entity_reference. | 1 | |||
ViewsSort | class | Drupal\views\Annotation | core/ |
Defines a Plugin annotation object for views sort handlers. | ||||
ViewsSort | class | Drupal\views\Attribute | core/ |
Defines a Plugin attribute object for views sort handlers. | 11 | |||
ViewsStyle | class | Drupal\views\Annotation | core/ |
Defines a Plugin annotation object for views style plugins. | ||||
ViewsStyle | class | Drupal\views\Attribute | core/ |
Defines a views style plugins type attribute for plugin discovery. | 11 | |||
ViewsTokensHooks | class | Drupal\views\Hook | core/ |
Hook implementations for views. | ||||
ViewsUIController | class | Drupal\views_ui\Controller | core/ |
Returns responses for Views UI routes. | ||||
ViewsUiHooks | class | Drupal\views_ui\Hook | core/ |
Hook implementations for views_ui. | ||||
ViewsViewsExecutionHooks | class | Drupal\views\Hook | core/ |
Hook implementations for views. | ||||
ViewsViewsHooks | class | Drupal\views\Hook | core/ |
Hook implementations for views. | ||||
ViewsWizard | class | Drupal\views\Annotation | core/ |
Defines a Plugin annotation object for views wizard plugins. | ||||
ViewsWizard | class | Drupal\views\Attribute | core/ |
Defines a Plugin attribute object for views wizard plugins. | 11 | |||
ViewTemplate | final class | OpenTelemetry\SDK\Metrics\View | vendor/ |
|||||
ViewUI | class | Drupal\views_ui | core/ |
Stores UI related temporary settings. | 4 | |||
ViewUIConverter | class | Drupal\views_ui\ProxyClass\ParamConverter | core/ |
Provides a proxy class for \Drupal\views_ui\ParamConverter\ViewUIConverter. | ||||
ViewUIConverter | class | Drupal\views_ui\ParamConverter | core/ |
Provides upcasting for a view entity to be used in the Views UI. | 2 | |||
VirtualRequestStack | final class | Symfony\Component\HttpKernel\Debug | vendor/ |
A stack able to deal with virtual requests. | ||||
VirtualStub | class | Symfony\Component\VarDumper\Caster | vendor/ |
|||||
Vocabulary | class | Drupal\taxonomy\Entity | core/ |
Defines the taxonomy vocabulary entity. | 3 | |||
Vocabulary | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 vocabularies source from database. | 1 | |||
Vocabulary | class | Drupal\taxonomy\Plugin\migrate\source\d7 | core/ |
Drupal 7 vocabularies source from database. | 2 | 1 | ||
VocabularyAccessControlHandler | class | Drupal\taxonomy | core/ |
Defines the access control handler for the taxonomy vocabulary entity type. | 1 | |||
VocabularyDeleteForm | class | Drupal\taxonomy\Form | core/ |
Provides a deletion confirmation form for taxonomy vocabulary. | 1 | |||
VocabularyForm | class | Drupal\taxonomy | core/ |
Base form for vocabulary edit forms. | 1 | |||
VocabularyInterface | interface | Drupal\taxonomy | core/ |
Provides an interface defining a taxonomy vocabulary entity. | 1 | 3 | ||
VocabularyListBuilder | class | Drupal\taxonomy | core/ |
Defines a class to build a listing of taxonomy vocabulary entities. | 1 | |||
VocabularyPerType | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 vocabularies with associated node types source from database. | ||||
VocabularyResetForm | class | Drupal\taxonomy\Form | core/ |
Provides confirmation form for resetting a vocabulary to alphabetical order. | 1 | |||
VocabularyRouteProvider | class | Drupal\taxonomy\Entity\Routing | core/ |
1 | ||||
VocabularyStorage | class | Drupal\taxonomy | core/ |
Defines a storage handler class for taxonomy vocabularies. | 1 | |||
VocabularyStorageInterface | interface | Drupal\taxonomy | core/ |
Defines an interface for vocabulary entity storage classes. | 1 | 4 | ||
VocabularyTranslation | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 i18n vocabulary translations source from database. | ||||
VocabularyTranslation | class | Drupal\taxonomy\Plugin\migrate\source\d7 | core/ |
Drupal 7 i18n vocabulary translations source from database. | ||||
VocabularyVid | class | Drupal\taxonomy\Plugin\views\argument | core/ |
Argument handler to accept a vocabulary id. | ||||
VoidType | final class | SebastianBergmann\Type | vendor/ |
|||||
Void_ | final class | phpDocumentor\Reflection\Types | vendor/ |
Value Object representing the return-type 'void'. | 3 | |||
WarmableInterface | interface | Symfony\Component\HttpKernel\CacheWarmer | vendor/ |
Interface for classes that support warming their cache. | 1 | 1 | ||
WarmCodeCoverageCacheCommand | final class | PHPUnit\TextUI\Command | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
Warning | abstract class | Egulias\EmailValidator\Warning | vendor/ |
20 | 7 | |||
Warning | final class | PHPUnit\Framework\TestStatus | vendor/ |
@psalm-immutable | ||||
WarningTriggered | final class | PHPUnit\Event\TestRunner | vendor/ |
@psalm-immutable | 3 | |||
WarningTriggered | final class | PHPUnit\Event\Test | vendor/ |
@psalm-immutable | 9 | |||
WarningTriggeredSubscriber | interface | PHPUnit\Event\TestRunner | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | 1 | ||
WarningTriggeredSubscriber | interface | PHPUnit\Event\Test | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 4 | 4 | ||
Watchdog | class | Drupal\dblog\Plugin\views\wizard | core/ |
Defines a wizard for the watchdog table. | ||||
WebAssert | class | Behat\Mink | vendor/ |
Mink web assertions tool. |