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
GlobFileLoader class Symfony\Component\Routing\Loader vendor/symfony/routing/Loader/GlobFileLoader.php GlobFileLoader loads files from a glob pattern.
GlobFileLoader class Symfony\Component\DependencyInjection\Loader vendor/symfony/dependency-injection/Loader/GlobFileLoader.php GlobFileLoader loads files from a glob pattern. 2
GmpCalculator class Brick\Math\Internal\Calculator vendor/brick/math/src/Internal/Calculator/GmpCalculator.php Calculator implementation built around the GMP library.
GmpCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/GmpCaster.php Casts GMP objects to array representation.
GoneHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/GoneHttpException.php @author Ben Ramsey <ben@benramsey.com> 1 1
GotoAction class Drupal\Core\Action\Plugin\Action core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php Redirects to a different URL.
Goto_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Goto_.php
GPBDecodeException class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php
GPBEmpty class GPBMetadata\Google\Protobuf vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php
GPBEmpty class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/GPBEmpty.php A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty)…
GPBJsonWire class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php
GPBLabel class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php 3
GPBType class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBType.php 121
GPBUtil class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php 115
GPBWire class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php 28
GPBWireType class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php
Graph class Drupal\Component\Graph core/lib/Drupal/Component/Graph/Graph.php Directed acyclic graph manipulation. 6
Grapheme final class Symfony\Polyfill\Intl\Grapheme vendor/symfony/polyfill-intl-grapheme/Grapheme.php Partial intl implementation in pure PHP.
GraphvizDumper class Symfony\Component\DependencyInjection\Dumper vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php GraphvizDumper dumps a service container as a graphviz file.
GravInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/GravInstaller.php
Greater class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Greater.php
GreaterBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/GreaterBinary.php 1
GreaterEqualBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/GreaterEqualBinary.php 1
GreaterOrEqual class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/GreaterOrEqual.php
GreaterThan class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/GreaterThan.php Validates that a value is greater than another value. 1
GreaterThan final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Cardinality/GreaterThan.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
GreaterThanOrEqual class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/GreaterThanOrEqual.php Validates that a value is greater than or equal to another value. 1
GreaterThanOrEqualToVersionConstraint class PharIo\Version vendor/phar-io/version/src/constraints/GreaterThanOrEqualToVersionConstraint.php
GreaterThanOrEqualValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/GreaterThanOrEqualValidator.php Validates values are greater than or equal to the previous (>=).
GreaterThanValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/GreaterThanValidator.php Validates values are greater than the previous (>).
Grid class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/Grid.php Style plugin to render each item in a grid cell.
GridResponsive class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/GridResponsive.php Style plugin to render each item in a responsive grid cell.
Group final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Group.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Group class Peast\Selector\Node vendor/mck89/peast/lib/Peast/Selector/Node/Group.php Selector group class
Group final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/Group.php @psalm-immutable 1
Group final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/Group.php @psalm-immutable 1
GroupByNumeric class Drupal\views\Plugin\views\sort core/modules/views/src/Plugin/views/sort/GroupByNumeric.php Handler for GROUP BY on simple numeric fields.
GroupByNumeric class Drupal\views\Plugin\views\argument core/modules/views/src/Plugin/views/argument/GroupByNumeric.php Simple handler for arguments using group by.
GroupByNumeric class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/GroupByNumeric.php Simple filter to handle greater than/less than filters.
GroupCollection final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/GroupCollection.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
GroupCollectionIterator final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/GroupCollectionIterator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
GroupDefinitionException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/GroupDefinitionException.php 1
GroupFilterIterator abstract class PHPUnit\Runner\Filter vendor/phpunit/phpunit/src/Runner/Filter/GroupFilterIterator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
GroupLegacyScope final class mglaman\PHPStanDrupal\DeprecatedScope vendor/mglaman/phpstan-drupal/src/DeprecatedScope/GroupLegacyScope.php
GroupProviderInterface interface Symfony\Component\Validator vendor/symfony/validator/GroupProviderInterface.php Defines the interface for a validation group provider.
Groups final class PHPUnit\Metadata\Api vendor/phpunit/phpunit/src/Metadata/Api/Groups.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 5
Groups final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Groups.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Groups class Symfony\Component\Serializer\Attribute vendor/symfony/serializer/Attribute/Groups.php @author Kévin Dunglas <dunglas@gmail.com> 1
GroupSequence class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/GroupSequence.php A sequence of validation groups. 13
GroupSequenceProvider class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/GroupSequenceProvider.php Attribute to define a group sequence provider. 1

Pagination

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