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
ProcessSignaledException final class Symfony\Component\Process\Exception vendor/symfony/process/Exception/ProcessSignaledException.php Exception that is thrown when a process has been signaled. 2
ProcessStartFailedException class Symfony\Component\Process\Exception vendor/symfony/process/Exception/ProcessStartFailedException.php Exception for processes failed during startup. 1
ProcessStream final class Symfony\Component\Mailer\Transport\Smtp\Stream vendor/symfony/mailer/Transport/Smtp/Stream/ProcessStream.php A stream supporting local processes. 1
ProcessTimedOutException class Symfony\Component\Process\Exception vendor/symfony/process/Exception/ProcessTimedOutException.php Exception that is thrown when a process times out. 2
ProcessUtils class Symfony\Component\Process vendor/symfony/process/ProcessUtils.php ProcessUtils is a bunch of utility methods.
ProcessWireInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php
Profile final class Twig\Profiler vendor/twig/twig/src/Profiler/Profile.php @author Fabien Potencier <fabien@symfony.com> 6
Profile class Symfony\Component\HttpKernel\Profiler vendor/symfony/http-kernel/Profiler/Profile.php Profile. 1
ProfileExtensionList class Drupal\Core\Extension core/lib/Drupal/Core/Extension/ProfileExtensionList.php Provides a list of installation profiles. 2
ProfileField class Drupal\user\Plugin\migrate\source core/modules/user/src/Plugin/migrate/source/ProfileField.php Drupal 6/7 profile field source from database. 2 2
ProfileFieldOptionTranslation class Drupal\user\Plugin\migrate\source\d6 core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php Drupal 6 i18n profile field option labels source from database.
ProfileFieldOptionTranslation class Drupal\user\Plugin\migrate\process\d6 core/modules/user/src/Plugin/migrate/process/d6/ProfileFieldOptionTranslation.php Determines the settings property and translation.
ProfileFieldSettings class Drupal\user\Plugin\migrate\process core/modules/user/src/Plugin/migrate/process/ProfileFieldSettings.php
ProfileFieldTranslation class Drupal\config_translation\Plugin\migrate\source\d6 core/modules/config_translation/src/Plugin/migrate/source/d6/ProfileFieldTranslation.php Drupal 6 i18n strings profile field source from database.
ProfileFieldValues class Drupal\user\Plugin\migrate\source\d6 core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldValues.php Drupal 6 profile fields values source from database.
ProfileForm class Drupal\user core/modules/user/src/ProfileForm.php Form handler for the profile forms. 1
Profiler class Symfony\Component\HttpKernel\Profiler vendor/symfony/http-kernel/Profiler/Profiler.php Profiler. 1
ProfilerExtension class Twig\Extension vendor/twig/twig/src/Extension/ProfilerExtension.php
ProfilerListener class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/ProfilerListener.php ProfilerListener collects data for the current request by listening to the kernel events.
ProfilerNodeVisitor final class Twig\Profiler\NodeVisitor vendor/twig/twig/src/Profiler/NodeVisitor/ProfilerNodeVisitor.php @author Fabien Potencier <fabien@symfony.com> 1
ProfilerStorageInterface interface Symfony\Component\HttpKernel\Profiler vendor/symfony/http-kernel/Profiler/ProfilerStorageInterface.php ProfilerStorageInterface. 1
ProfileTranslationHandler class Drupal\user core/modules/user/src/ProfileTranslationHandler.php Defines the translation handler for users. 1
ProfileValues class Drupal\user\Plugin\migrate core/modules/user/src/Plugin/migrate/ProfileValues.php Plugin class for user migrations dealing with profile values. 1
Program class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Program.php Root node for scripts and modules.
ProgressBar final class Symfony\Component\Console\Helper vendor/symfony/console/Helper/ProgressBar.php The ProgressBar provides helpers to display progress output. 4
ProgressIndicator class Symfony\Component\Console\Helper vendor/symfony/console/Helper/ProgressIndicator.php @author Kevin Bond <kevinbond@gmail.com>
ProgressPrinter final class PHPUnit\TextUI\Output\Default\ProgressPrinter vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/ProgressPrinter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ProhibitsCommand class Composer\Command vendor/composer/composer/src/Composer/Command/ProhibitsCommand.php @author Niels Keurentjes <niels.keurentjes@omines.com>
Project final class SebastianBergmann\CodeCoverage\Report\Xml vendor/phpunit/php-code-coverage/src/Report/Xml/Project.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Project interface phpDocumentor\Reflection vendor/phpdocumentor/reflection-common/src/Project.php Interface for project. Since the definition of a project can be different per factory this interface will be small.
Project class DrupalPractice vendor/drupal/coder/coder_sniffer/DrupalPractice/Project.php Helper class to retrieve project information like module/theme name for a file. 14
ProjectCoreCompatibility final class Drupal\update core/modules/update/src/ProjectCoreCompatibility.php Utility class to set core compatibility messages for project releases. 1
ProjectFactory interface phpDocumentor\Reflection vendor/phpdocumentor/reflection-common/src/ProjectFactory.php Interface for project factories. A project factory shall convert a set of files into an object implementing the Project interface.
ProjectInfo class Drupal\Core\Utility core/lib/Drupal/Core/Utility/ProjectInfo.php Performs operations on drupal.org project data. 3
ProjectInfo final class Drupal\package_manager core/modules/package_manager/src/ProjectInfo.php Defines a class for retrieving project information from Update module. 1
ProjectInstaller class Composer\Installer vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php Project Installer is used to install a single package into a directory as root project. 1
ProjectRelease final class Drupal\update core/modules/update/src/ProjectRelease.php Provides a project release value object. 4
ProjectSecurityData final class Drupal\update core/modules/update/src/ProjectSecurityData.php Calculates a project's security coverage information. 1
ProjectSecurityRequirement final class Drupal\update core/modules/update/src/ProjectSecurityRequirement.php Class for generating a project's security requirement. 1
Promise final class Http\Adapter\Guzzle7 vendor/php-http/guzzle7-adapter/src/Promise.php Wrapper around Guzzle promises.
Promise interface Http\Promise vendor/php-http/promise/src/Promise.php Promise represents a value that may not be available yet, but will be resolved at some point in future. It acts like a proxy to the actual value. 5 4
Promise class GuzzleHttp\Promise vendor/guzzlehttp/promises/src/Promise.php Promises/A+ implementation that avoids recursion when possible. 2
Promise final class React\Promise vendor/react/promise/src/Promise.php @template T @template-implements PromiseInterface<T> 3
PromiseInterface interface Prophecy\Promise vendor/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php Promise interface. Promises are logical blocks, tied to `will...` keyword. 4
PromiseInterface interface GuzzleHttp\Promise vendor/guzzlehttp/promises/src/PromiseInterface.php A promise represents the eventual result of an asynchronous operation. 4 16
PromiseInterface interface React\Promise vendor/react/promise/src/PromiseInterface.php @template-covariant T 3 31
PromisorInterface interface GuzzleHttp\Promise vendor/guzzlehttp/promises/src/PromisorInterface.php Interface used with classes that return a promise. 2 1
PromoteNode class Drupal\node\Plugin\Action core/modules/node/src/Plugin/Action/PromoteNode.php Promotes a node.
PropagationGetterInterface interface OpenTelemetry\Context\Propagation vendor/open-telemetry/context/Propagation/PropagationGetterInterface.php 2 3
PropagationSetterInterface interface OpenTelemetry\Context\Propagation vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php 1 3

Pagination

  • First page
  • Previous page
  • …
  • Page 145
  • Page 146
  • Page 147
  • Page 148
  • Page 149
  • Page 150
  • Page 151
  • Page 152
  • Page 153
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal