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
vfsStream class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStream.php Some utility methods for vfsStream.
vfsStreamAbstractContent abstract class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php Base stream contents container. 2
vfsStreamAbstractVisitor abstract class org\bovigo\vfs\visitor vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitor.php Abstract base class providing an implementation for the visit() method. 2
vfsStreamBlock class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamBlock.php Block container. 4
vfsStreamContainer interface org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainer.php Interface for stream contents that are able to store other stream contents. 1
vfsStreamContainerIterator class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php Iterator for children of a directory container.
vfsStreamContent interface org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContent.php Interface for stream contents. 1 3
vfsStreamDirectory class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php Directory container. 1 3
vfsStreamException class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamException.php Exception for vfsStream errors.
vfsStreamFile class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamFile.php File container. 1 3
vfsStreamPrintVisitor class org\bovigo\vfs\visitor vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/visitor/vfsStreamPrintVisitor.php Visitor which traverses a content structure recursively to print it to an output stream.
vfsStreamStructureVisitor class org\bovigo\vfs\visitor vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/visitor/vfsStreamStructureVisitor.php Visitor which traverses a content structure recursively to create an array structure from it.
vfsStreamVisitor interface org\bovigo\vfs\visitor vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/visitor/vfsStreamVisitor.php Interface for a visitor to work on a vfsStream content structure. 1 1
vfsStreamWrapper class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php Stream wrapper to mock file system requests.
VgmcpInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
Vid class Drupal\node\Plugin\views\argument core/modules/node/src/Plugin/views/argument/Vid.php Argument handler to accept a node revision id.
VideoFile class Drupal\media\Plugin\media\Source core/modules/media/src/Plugin/media/Source/VideoFile.php Media source wrapping around a video file.
View class Drupal\views\Element core/modules/views/src/Element/View.php Provides a render element to display a view. 1
View class Drupal\views\Plugin\views\area core/modules/views/src/Plugin/views/area/View.php Views area handlers. Insert a view inside of an area.
View class Drupal\views\Entity core/modules/views/src/Entity/View.php Defines a View configuration entity class. 6
ViewAddForm class Drupal\views_ui core/modules/views_ui/src/ViewAddForm.php Form controller for the Views add form.
ViewAjaxController class Drupal\views\Controller core/modules/views/src/Controller/ViewAjaxController.php Defines a controller to load a view via AJAX. 1
ViewAjaxResponse class Drupal\views\Ajax core/modules/views/src/Ajax/ViewAjaxResponse.php Custom JSON response object for an ajax view response. 1
ViewDuplicateForm class Drupal\views_ui core/modules/views_ui/src/ViewDuplicateForm.php Form controller for the Views duplicate form.
ViewEditForm class Drupal\views_ui core/modules/views_ui/src/ViewEditForm.php Form controller for the Views edit form.
ViewEntityInterface interface Drupal\views core/modules/views/src/ViewEntityInterface.php Defines an interface for View storage classes. 2 14
ViewEvent final class Symfony\Component\HttpKernel\Event vendor/symfony/http-kernel/Event/ViewEvent.php Allows to create a response for the return value of a controller. 7
ViewExecutable class Drupal\views core/modules/views/src/ViewExecutable.php Represents a view as a whole. 83
ViewExecutableFactory class Drupal\views core/modules/views/src/ViewExecutableFactory.php Defines the cache backend factory. 4 2
ViewFormBase abstract class Drupal\views_ui core/modules/views_ui/src/ViewFormBase.php Base form for Views forms. 4
ViewListBuilder class Drupal\views_ui core/modules/views_ui/src/ViewListBuilder.php Defines a class to build a listing of view entities.
ViewMode class Drupal\field\Plugin\migrate\source\d7 core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php Drupal 7 view mode source from database.
ViewMode class Drupal\node\Plugin\migrate\source\d6 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php Drupal 6 view mode source from database.
ViewModeAccessCheck class Drupal\field_ui\Access core/modules/field_ui/src/Access/ViewModeAccessCheck.php Defines an access check for entity view mode routes. 2
ViewModeBase abstract class Drupal\node\Plugin\migrate\source\d6 core/modules/node/src/Plugin/migrate/source/d6/ViewModeBase.php A base class for migrations that require view mode info. 2 1
ViewPageController class Drupal\views\Routing core/modules/views/src/Routing/ViewPageController.php Defines a page controller to execute and render a view.
ViewPreviewForm class Drupal\views_ui core/modules/views_ui/src/ViewPreviewForm.php Form controller for the Views preview form.
ViewProjection final class OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/ViewProjection.php 3
ViewRegistryInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/ViewRegistryInterface.php 1 1
ViewRenderElementException class Drupal\views\Exception core/modules/views/src/Exception/ViewRenderElementException.php Defines an exception for an invalid View render element. 1
Views class Drupal\views core/modules/views/src/Views.php Static service container wrapper for views. 41
ViewsAccess class Drupal\views\Annotation core/modules/views/src/Annotation/ViewsAccess.php Defines a Plugin annotation object for views access plugins.
ViewsAccess class Drupal\views\Attribute core/modules/views/src/Attribute/ViewsAccess.php Defines a views access plugins type attribute for plugin discovery. 3
ViewsArea class Drupal\views\Annotation core/modules/views/src/Annotation/ViewsArea.php Defines a Plugin annotation object for views area handlers.
ViewsArea class Drupal\views\Attribute core/modules/views/src/Attribute/ViewsArea.php Defines a Plugin attribute object for views area handlers. 12
ViewsArgument class Drupal\views\Annotation core/modules/views/src/Annotation/ViewsArgument.php Defines a Plugin annotation object for views argument handlers.
ViewsArgument class Drupal\views\Attribute core/modules/views/src/Attribute/ViewsArgument.php Defines a ViewsArgument attribute for plugin discovery. 41
ViewsArgumentDefault class Drupal\views\Annotation core/modules/views/src/Annotation/ViewsArgumentDefault.php Defines a Plugin annotation object for views argument default plugins.
ViewsArgumentDefault class Drupal\views\Attribute core/modules/views/src/Attribute/ViewsArgumentDefault.php Defines a ViewsArgument attribute for plugin discovery. 7
ViewsArgumentValidator class Drupal\views\Annotation core/modules/views/src/Annotation/ViewsArgumentValidator.php Defines a Plugin annotation object for views argument validator plugins.

Pagination

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