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
PcovDriver final class SebastianBergmann\CodeCoverage\Driver vendor/phpunit/php-code-coverage/src/Driver/PcovDriver.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
PcovNotAvailableException final class SebastianBergmann\CodeCoverage\Driver vendor/phpunit/php-code-coverage/src/Exception/PcovNotAvailableException.php
PcreException final class phpDocumentor\Reflection\Exception vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php 1
PcreException class Composer\Pcre vendor/composer/pcre/src/PcreException.php 1 1
PdoCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/PdoCaster.php Casts PDO related classes to array representation.
PDOConnection class Drupal\sqlite\Driver\Database\sqlite core/modules/sqlite/src/Driver/Database/sqlite/PDOConnection.php SQLite-specific implementation of a PDO connection.
PdoSessionHandler class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php Session handler using a PDO connection to read and write data.
PdoStore class Symfony\Component\Lock\Store vendor/symfony/lock/Store/PdoStore.php PdoStore is a PersistingStoreInterface implementation using a PDO connection.
PEAR class vendor/pear/pear-core-minimal/src/PEAR.php Base class for other PEAR classes. Provides rudimentary emulation of destructors. 1
PearRepository

@private

class Composer\Repository vendor/composer/composer/src/Composer/Repository/PearRepository.php Builds list of package from PEAR channel.
PEAR_Error class vendor/pear/pear-core-minimal/src/PEAR.php Standard PEAR error class for PHP 4
PEAR_ErrorStack class vendor/pear/pear-core-minimal/src/PEAR/ErrorStack.php Error Stack Implementation
PEAR_Exception class vendor/pear/pear_exception/PEAR/Exception.php Base PEAR_Exception Class
Peast class Peast vendor/mck89/peast/lib/Peast/Peast.php Main class of Peast library. Every function of this class takes two arguments: 1
Pecl class Drupal\Component\Uuid core/lib/Drupal/Component/Uuid/Pecl.php Generates a UUID using the PECL extension.
PeclUuidNameGenerator class Ramsey\Uuid\Generator vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php PeclUuidNameGenerator generates strings of binary data from a namespace and a name, using ext-uuid 1
PeclUuidRandomGenerator class Ramsey\Uuid\Generator vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php PeclUuidRandomGenerator generates strings of random binary data using ext-uuid 1
PeclUuidTimeGenerator class Ramsey\Uuid\Generator vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php PeclUuidTimeGenerator generates strings of binary data for time-base UUIDs, using ext-uuid 1
PeekableRequestRateLimiterInterface interface Symfony\Component\HttpFoundation\RateLimiter vendor/symfony/http-foundation/RateLimiter/PeekableRequestRateLimiterInterface.php A request limiter which allows peeking ahead. 1
PeerConfig class OpenTelemetry\API\Instrumentation\Configuration\General vendor/open-telemetry/api/Instrumentation/Configuration/General/PeerConfig.php
PendingUpdatesValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
Percentage class Drupal\Core\Batch core/lib/Drupal/Core/Batch/Percentage.php Helper methods for the batch system. 1
Percentage final class SebastianBergmann\CodeCoverage\Util vendor/phpunit/php-code-coverage/src/Util/Percentage.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage 4
PerComponentEntityDisplay class Drupal\migrate\Plugin\migrate\destination core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php This class imports one component of an entity display.
PerComponentEntityFormDisplay class Drupal\migrate\Plugin\migrate\destination core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityFormDisplay.php This class imports one component of an entity form display.
Perforce class Composer\Util vendor/composer/composer/src/Composer/Util/Perforce.php @author Matt Whittom <Matt.Whittom@veteransunited.com> 2
PerforceDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/PerforceDownloader.php @author Matt Whittom <Matt.Whittom@veteransunited.com>
PerforceDriver class Composer\Repository\Vcs vendor/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php @author Matt Whittom <Matt.Whittom@veteransunited.com>
Performance class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Performance.php
PerformanceController class Drupal\system\Controller core/modules/system/src/Controller/PerformanceController.php Controller for performance admin.
PerformanceForm class Drupal\system\Form core/modules/system/src/Form/PerformanceForm.php Configure performance settings for this site. 1
PerformanceTestRecorder class Drupal\Core\Test core/lib/Drupal/Core/Test/PerformanceTestRecorder.php Records the number of times specific events occur.
Permission class Drupal\user\Plugin\views\access core/modules/user/src/Plugin/views/access/Permission.php Access plugin that provides permission-based access control.
PermissionAccessCheck class Drupal\user\Access core/modules/user/src/Access/PermissionAccessCheck.php Permission access check. 2
PermissionChecker class Drupal\Core\Session core/lib/Drupal/Core/Session/PermissionChecker.php Checks permissions for an account.
PermissionCheckerInterface interface Drupal\Core\Session core/lib/Drupal/Core/Session/PermissionCheckerInterface.php Defines a permission checker interface. 1
PermissionHandler class Drupal\user core/modules/user/src/PermissionHandler.php Provides the available permissions based on yml files. 2
PermissionHandlerInterface interface Drupal\user core/modules/user/src/PermissionHandlerInterface.php Defines an interface to list available permissions. 1 6
Permissions class Drupal\user\Plugin\views\filter core/modules/user/src/Plugin/views/filter/Permissions.php Filter handler for user roles.
Permissions class Drupal\user\Plugin\views\field core/modules/user/src/Plugin/views/field/Permissions.php Field handler to provide a list of permissions.
Permissions class Drupal\content_moderation core/modules/content_moderation/src/Permissions.php Defines a class for dynamic permissions based on transitions.
PermissionsHashGenerator class Drupal\Core\Session core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates and caches the permissions hash for a user.
PermissionsHashGeneratorInterface interface Drupal\Core\Session core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Defines the user permissions hash generator interface. 1 1
PermissionsPerBundle final class Drupal\Core\Config\Action\Plugin\ConfigAction core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php @internal This API is experimental.
PermissionsPerBundleDeriver final class Drupal\Core\Config\Action\Plugin\ConfigAction\Deriver core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php @internal This API is experimental. 1
PersistentDatabaseLockBackend class Drupal\Core\Lock core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php Defines the persistent database lock backend.
PersistentDatabaseLockBackend class Drupal\Core\ProxyClass\Lock core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.
PersistingStoreInterface interface Symfony\Component\Lock vendor/symfony/lock/PersistingStoreInterface.php @author Jérémy Derussé <jeremy@derusse.com> 7 7
PgSqlCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/PgSqlCaster.php Casts pqsql resources to array representation.
PgsqlHooks class Drupal\pgsql\Hook core/modules/pgsql/src/Hook/PgsqlHooks.php Hook implementations for pgsql.

Pagination

  • First page
  • Previous page
  • …
  • Page 138
  • Page 139
  • Page 140
  • Page 141
  • Page 142
  • Page 143
  • Page 144
  • Page 145
  • Page 146
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal