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
Function_ class PhpParser\Node\Scalar\MagicConst vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Function_.php
Function_ abstract class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Function_.php Abstract class for functions. 3
Function_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php 4
FundamentalCompatibilityConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraint.php The fundamental compatibility constraint.
FundamentalCompatibilityConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Validates fundamental compatibility of CKEditor 5 with the given text format.
FundCommand class Composer\Command vendor/composer/composer/src/Composer/Command/FundCommand.php @author Nicolas Grekas <p@tchwork.com> @author Jordi Boggiano <j.boggiano@seld.be>
FutureInterface interface OpenTelemetry\SDK\Common\Future vendor/open-telemetry/sdk/Common/Future/FutureInterface.php @template-covariant T 2 13
GarbageCollectionDisabled final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/GarbageCollectionDisabled.php @psalm-immutable
GarbageCollectionDisabledSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/GarbageCollectionDisabledSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
GarbageCollectionEnabled final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/GarbageCollectionEnabled.php @psalm-immutable
GarbageCollectionEnabledSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/GarbageCollectionEnabledSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
GarbageCollectionHandler final class PHPUnit\Runner\GarbageCollection vendor/phpunit/phpunit/src/Runner/GarbageCollection/GarbageCollectionHandler.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
GarbageCollectionTriggered final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/GarbageCollectionTriggered.php @psalm-immutable
GarbageCollectionTriggeredSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/GarbageCollectionTriggeredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
GarbageCollectorStatus final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/GarbageCollectorStatus.php @psalm-immutable
GarbageCollectorStatusProvider interface PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/GarbageCollectorStatusProvider.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
Gauge final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/Gauge.php
Gauge final class OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/Gauge.php @internal
Gauge class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php Gauge represents the type of a scalar metric that always exports the "current value" for every data point. It should be used for an "unknown" aggregation. A Gauge does not support different aggregation temporalities. Given… 1
GaugeInterface interface OpenTelemetry\API\Metrics vendor/open-telemetry/api/Metrics/GaugeInterface.php A synchronous instrument which can be used to record non-additive values. 2 4
GDImageToolkitOperationBase abstract class Drupal\system\Plugin\ImageToolkit\Operation\gd core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php 7
GDToolkit class Drupal\system\Plugin\ImageToolkit core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Defines the GD2 toolkit for image manipulation within Drupal.
GenderNeutralCommentSniff class Drupal\Sniffs\Commenting vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/GenderNeutralCommentSniff.php Parses and verifies that comments use gender neutral language.
GeneralInstrumentationConfiguration interface OpenTelemetry\API\Instrumentation\AutoInstrumentation vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/GeneralInstrumentationConfiguration.php 2 2
GenerateAutoloadReferenceFile final class Drupal\Composer\Plugin\Scaffold composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates an 'autoload.php' that includes the autoloader created by Composer.
GenerateConfigurationCommand final class PHPUnit\TextUI\Command vendor/phpunit/phpunit/src/TextUI/Command/Commands/GenerateConfigurationCommand.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
GeneratedButton class Drupal\Core core/lib/Drupal/Core/GeneratedButton.php This class holds a <button> generated from the <button> route. 1
GeneratedCodeInfo class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
GeneratedConfig final class PHPStan\ExtensionInstaller vendor/phpstan/extension-installer/src/GeneratedConfig.php This class is generated by phpstan/extension-installer. @internal
GeneratedLink class Drupal\Core core/lib/Drupal/Core/GeneratedLink.php Used to return generated links, along with associated cacheability metadata. 2 1
GeneratedNoLink class Drupal\Core core/lib/Drupal/Core/GeneratedNoLink.php This class holds a <span> generated from the <nolink> route. 1
GeneratedUrl class Drupal\Core core/lib/Drupal/Core/GeneratedUrl.php Used to return generated URLs, along with associated bubbleable metadata. 3
GenerateProxyClassApplication class Drupal\Core\Command core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php Provides a console command to generate proxy classes. 1
GenerateProxyClassCommand class Drupal\Core\Command core/lib/Drupal/Core/Command/GenerateProxyClassCommand.php Provides a console command to generate proxy classes.
GenerateTheme class Drupal\Core\Command core/lib/Drupal/Core/Command/GenerateTheme.php Generates a new theme based on latest default markup.
Generator final class PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Generator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
Generator final class PHPUnit\Runner\Baseline vendor/phpunit/phpunit/src/Runner/Baseline/Generator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Generator final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Generator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Generator abstract class PHP_CodeSniffer\Generators vendor/squizlabs/php_codesniffer/src/Generators/Generator.php 3
GeneratorDumper abstract class Symfony\Component\Routing\Generator\Dumper vendor/symfony/routing/Generator/Dumper/GeneratorDumper.php GeneratorDumper is the base class for all built-in generator dumpers. 1
GeneratorDumperInterface interface Symfony\Component\Routing\Generator\Dumper vendor/symfony/routing/Generator/Dumper/GeneratorDumperInterface.php GeneratorDumperInterface is the interface that all generator dumper classes must implement. 1 1
GeneratorNotInitializedException class Drupal\Core\Routing core/lib/Drupal/Core/Routing/GeneratorNotInitializedException.php Class for exceptions thrown when the generator has not been initialized.
GeneratorNotSupportedException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/GeneratorNotSupportedException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Generic final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php Parses a tag definition for a DocBlock. 1
GenericArray class Ramsey\Collection vendor/ramsey/collection/src/GenericArray.php `GenericArray` represents a standard array object.
GenericEvent class Symfony\Component\EventDispatcher vendor/symfony/event-dispatcher/GenericEvent.php Event encapsulation class.
GenericFileFormatter class Drupal\file\Plugin\Field\FieldFormatter core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Plugin implementation of the 'file_default' formatter.
GenericMetadata class Symfony\Component\Validator\Mapping vendor/symfony/validator/Mapping/GenericMetadata.php A generic container of {@link Constraint} objects. 2 2
GenericNumberConverter class Ramsey\Uuid\Converter\Number vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php GenericNumberConverter uses the provided calculator to convert decimal numbers to and from hexadecimal values 2
GenericObjectType final class SebastianBergmann\Type vendor/sebastian/type/src/type/GenericObjectType.php

Pagination

  • First page
  • Previous page
  • …
  • Page 81
  • Page 82
  • Page 83
  • Page 84
  • Page 85
  • Page 86
  • Page 87
  • Page 88
  • Page 89
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal