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
Configuration final class PHPUnit\TextUI\CliArguments vendor/phpunit/phpunit/src/TextUI/Configuration/Cli/Configuration.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
Configuration final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Configuration.php @psalm-immutable 13
Configuration class OpenTelemetry\SDK\Common\Configuration vendor/open-telemetry/sdk/Common/Configuration/Configuration.php Configuration can come from one or more of the following sources (from highest to lowest priority): 21
Configuration abstract class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Configuration.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2 3
ConfigurationCannotBeBuiltException final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Exception/ConfigurationCannotBeBuiltException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ConfigurationException final class SebastianBergmann\Diff vendor/sebastian/diff/src/Exception/ConfigurationException.php 1
ConfigurationExtensionInterface interface Symfony\Component\DependencyInjection\Extension vendor/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php ConfigurationExtensionInterface is the interface implemented by container extension classes. 1 3
ConfigurationRegistry final class OpenTelemetry\API\Instrumentation\AutoInstrumentation vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/ConfigurationRegistry.php
ConfigurationResolver class OpenTelemetry\API\Instrumentation vendor/open-telemetry/api/Instrumentation/ConfigurationResolver.php 1
ConfigurationResolverInterface interface OpenTelemetry\API\Instrumentation vendor/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php 1
Configurator final class OpenTelemetry\API\Instrumentation vendor/open-telemetry/api/Instrumentation/Configurator.php Configures the global (context scoped) instrumentation instances. 3
Configurator final class OpenTelemetry\SDK\Common\InstrumentationScope vendor/open-telemetry/sdk/Common/InstrumentationScope/Configurator.php @template T 12
ConfiguratorClosure final class OpenTelemetry\SDK\Common\InstrumentationScope vendor/open-telemetry/sdk/Common/InstrumentationScope/ConfiguratorClosure.php @internal
ConfiguratorTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php
ConfigureBlockFormBase abstract class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php Provides a base form for configuring a block. 2
Configured final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/Configured.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ConfiguredSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ConfiguredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ConfigureSectionForm class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/ConfigureSectionForm.php Provides a form for configuring a layout section. 1
ConfigValidator class Composer\Util vendor/composer/composer/src/Composer/Util/ConfigValidator.php Validates a composer configuration. 2
ConfigValueException class Drupal\Core\Config core/lib/Drupal/Core/Config/ConfigValueException.php Exception thrown when config object values are invalid.
ConfirmationQuestion class Symfony\Component\Console\Question vendor/symfony/console/Question/ConfirmationQuestion.php Represents a yes/no question. 3
ConfirmDeleteMultiple class Drupal\comment\Form core/modules/comment/src/Form/ConfirmDeleteMultiple.php Provides the comment multiple delete confirmation form. 1
ConfirmFormBase abstract class Drupal\Core\Form core/lib/Drupal/Core/Form/ConfirmFormBase.php Provides a generic base class for a confirmation form. 29 29
ConfirmFormHelper class Drupal\Core\Form core/lib/Drupal/Core/Form/ConfirmFormHelper.php Provides common functionality to confirmation forms. 2
ConfirmFormInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/ConfirmFormInterface.php Defines the behavior a confirmation form. 3 2
ConflictHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/ConflictHttpException.php @author Ben Ramsey <ben@benramsey.com> 1 2
ConflictingHeadersException class Symfony\Component\HttpFoundation\Exception vendor/symfony/http-foundation/Exception/ConflictingHeadersException.php The HTTP request contains headers with conflicting information. 2
ConnectException class GuzzleHttp\Exception vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php Exception thrown when a connection cannot be established. 3
Connection class Drupal\mysql\Driver\Database\mysql core/modules/mysql/src/Driver/Database/mysql/Connection.php MySQL implementation of \Drupal\Core\Database\Connection. 1
Connection class Symfony\Component\VarDumper\Server vendor/symfony/var-dumper/Server/Connection.php Forwards serialized Data clones to a server. 3
Connection abstract class Drupal\Core\Database core/lib/Drupal/Core/Database/Connection.php Base Database API class. 3 95
Connection class Drupal\sqlite\Driver\Database\sqlite core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite implementation of \Drupal\Core\Database\Connection. 1
Connection class Drupal\pgsql\Driver\Database\pgsql core/modules/pgsql/src/Driver/Database/pgsql/Connection.php PostgreSQL implementation of \Drupal\Core\Database\Connection.
ConnectionNotDefinedException class Drupal\Core\Database core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php Exception thrown if an undefined database connection is requested. 6
ConsecutiveAt class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ConsecutiveAt.php 1
ConsecutiveCalls final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ConsecutiveCalls.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
ConsecutiveDot class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ConsecutiveDot.php 2
ConsensusStrategy class Symfony\Component\Lock\Strategy vendor/symfony/lock/Strategy/ConsensusStrategy.php ConsensusStrategy is a StrategyInterface implementation where strictly more than 50% items should be successful.
ConsideredRisky final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Issue/ConsideredRisky.php @psalm-immutable 11
ConsideredRiskySubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Issue/ConsideredRiskySubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 5 5
Console final class SebastianBergmann\Environment vendor/sebastian/environment/src/Console.php 2
ConsoleAlarmEvent final class Symfony\Component\Console\Event vendor/symfony/console/Event/ConsoleAlarmEvent.php 1
ConsoleCommandEvent final class Symfony\Component\Console\Event vendor/symfony/console/Event/ConsoleCommandEvent.php Allows to do things before the command is executed, like skipping the command or executing code before the command is going to be executed. 2
ConsoleErrorEvent final class Symfony\Component\Console\Event vendor/symfony/console/Event/ConsoleErrorEvent.php Allows to handle throwables thrown while running a command. 3
ConsoleEvent class Symfony\Component\Console\Event vendor/symfony/console/Event/ConsoleEvent.php Allows to inspect input and output of a command. 5 2
ConsoleEvents final class Symfony\Component\Console vendor/symfony/console/ConsoleEvents.php Contains all events dispatched by an Application. 3
ConsoleExporter class OpenTelemetry\SDK\Logs\Exporter vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php A JSON console exporter for LogRecords. This is only useful for testing; the output is human-readable, and is not compatible with the OTLP format.
ConsoleExporterFactory class OpenTelemetry\SDK\Logs\Exporter vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php
ConsoleInputCollector final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/ConsoleInputCollector.php Collects input values for recipes from the command line.
ConsoleIO class Composer\IO vendor/composer/composer/src/Composer/IO/ConsoleIO.php The Input/Output helper. 1 4

Pagination

  • First page
  • Previous page
  • …
  • Page 31
  • Page 32
  • Page 33
  • Page 34
  • Page 35
  • Page 36
  • Page 37
  • Page 38
  • Page 39
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal