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
NullBackend class Drupal\Core\Cache core/lib/Drupal/Core/Cache/NullBackend.php Defines a stub cache implementation. 1 4
NullBackendFactory class Drupal\Core\Cache core/lib/Drupal/Core/Cache/NullBackendFactory.php 1 4
NullCache final class Twig\Cache vendor/twig/twig/src/Cache/NullCache.php Implements a no-cache strategy. 1
NullCancellation final class OpenTelemetry\SDK\Common\Future vendor/open-telemetry/sdk/Common/Future/NullCancellation.php
NullCoalesce class Drupal\migrate\Plugin\migrate\process core/modules/migrate/src/Plugin/migrate/process/NullCoalesce.php Provides a Null Coalesce process plugin.
NullCoalesceExpression class Twig\Node\Expression vendor/twig/twig/src/Node/Expression/NullCoalesceExpression.php 1
NullDestination class Drupal\migrate\Plugin\migrate\destination core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php Provides null destination plugin.
NullDumper class Symfony\Component\DependencyInjection\LazyProxy\PhpDumper vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php Null dumper, negates any proxy code generation for any given service definition. 1
NullFileCache class Drupal\Component\FileCache core/lib/Drupal/Component/FileCache/NullFileCache.php Null implementation for the file cache.
NullGenerator class Drupal\Core\Routing core/lib/Drupal/Core/Routing/NullGenerator.php No-op implementation of a URL Generator, needed for backward compatibility.
NullIdMap class Drupal\migrate\Plugin\migrate\id_map core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php Defines the null ID map implementation.
NullIncludedData class Drupal\jsonapi\JsonApiResource core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php Use when there are no included resources but a Data object is required. 5
NullIO class Composer\IO vendor/composer/composer/src/Composer/IO/NullIO.php IOInterface that is not interactive and never writes the output 7
NullLiteral class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/NullLiteral.php A node that represents a null literal.
NullLockBackend class Drupal\Core\Lock core/lib/Drupal/Core/Lock/NullLockBackend.php Defines a Null lock backend. 1
NullLogger class Psr\Log vendor/psr/log/src/NullLogger.php This Logger can be used to avoid conditional log calls. 9
NullMatcherDumper class Drupal\Core\Routing core/lib/Drupal/Core/Routing/NullMatcherDumper.php Does not dump Route information.
NullNormalizer class Drupal\serialization\Normalizer core/modules/serialization/src/Normalizer/NullNormalizer.php Null normalizer. 2
NullOutput class Symfony\Component\Console\Output vendor/symfony/console/Output/NullOutput.php NullOutput suppresses all output.
NullOutputFormatter final class Symfony\Component\Console\Formatter vendor/symfony/console/Formatter/NullOutputFormatter.php @author Tien Xuan Vo <tien.xuan.vo@gmail.com> 1
NullOutputFormatterStyle final class Symfony\Component\Console\Formatter vendor/symfony/console/Formatter/NullOutputFormatterStyle.php @author Tien Xuan Vo <tien.xuan.vo@gmail.com>
NullPathProcessorManager class Drupal\Core\PathProcessor core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php Provides a null implementation of the path processor manager.
NullPrinter final class PHPUnit\TextUI\Output vendor/phpunit/phpunit/src/TextUI/Output/Printer/NullPrinter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
NullResultCache final class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/NullResultCache.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
NullRouteMatch class Drupal\Core\Routing core/lib/Drupal/Core/Routing/NullRouteMatch.php Stub implementation of RouteMatchInterface for when there's no matched route.
NullsafeMethodCall class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafeMethodCall.php
NullsafePropertyFetch class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php
NullsafeTokenEmulator final class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NullsafeTokenEmulator.php 1
NullSessionHandler class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/NullSessionHandler.php Can be used in unit testing or in a situations where persisted sessions are not desired.
NullSpanConverter class OpenTelemetry\SDK\Trace\SpanExporter vendor/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php 1
NullStorage class Drupal\Core\Config core/lib/Drupal/Core/Config/NullStorage.php Defines a stub storage. 3
NullStorageExpirable class Drupal\Core\KeyValueStore core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php Defines a null key/value store implementation.
NullStore class Symfony\Component\Lock\Store vendor/symfony/lock/Store/NullStore.php
NullTest class Twig\Node\Expression\Test vendor/twig/twig/src/Node/Expression/Test/NullTest.php Checks that a variable is null. 2
NullTransport final class Symfony\Component\Mailer\Transport vendor/symfony/mailer/Transport/NullTransport.php Pretends messages have been sent, but just ignores them.
NullTransportFactory final class Symfony\Component\Mailer\Transport vendor/symfony/mailer/Transport/NullTransportFactory.php @author Konstantin Myakshin <molodchick@gmail.com> 1
NullType final class SebastianBergmann\Type vendor/sebastian/type/src/type/NullType.php
NullTypeHintOnLastPositionSniff class SlevomatCodingStandard\Sniffs\TypeHints vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/NullTypeHintOnLastPositionSniff.php
NullValue class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/NullValue.php `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. 1
Null_ final class phpDocumentor\Reflection\Types vendor/phpdocumentor/type-resolver/src/Types/Null_.php Value Object representing a null value or type. 1
Number class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Number.php Provides a form element for numeric input, with special numeric validation. 1
Number class Drupal\Component\Utility core/lib/Drupal/Component/Utility/Number.php Provides helper methods for manipulating numbers. 2
NumberComparator class Symfony\Component\Finder\Comparator vendor/symfony/finder/Comparator/NumberComparator.php NumberComparator compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested again. 2
NumberConstraint class JsonSchema\Constraints vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/NumberConstraint.php The NumberConstraint Constraints, validates an number against a given schema
NumberConverterInterface interface Ramsey\Uuid\Converter vendor/ramsey/uuid/src/Converter/NumberConverterInterface.php A number converter converts UUIDs from hexadecimal characters into representations of integers and vice versa 2 24
NumberDataPoint final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php
NumberDataPoint class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php NumberDataPoint is a single data point in a timeseries that describes the time-varying scalar value of a metric. 1
NumberField class Drupal\field\Plugin\migrate\field\d7 core/modules/field/src/Plugin/migrate/field/d7/NumberField.php MigrateField plugin for Drupal 7 number fields.
NumberFormatException class Brick\Math\Exception vendor/brick/math/src/Exception/NumberFormatException.php Exception thrown when attempting to create a number from a string with an invalid format. 3
NumberHandler class Symfony\Component\CssSelector\Parser\Handler vendor/symfony/css-selector/Parser/Handler/NumberHandler.php CSS selector comment handler.

Pagination

  • First page
  • Previous page
  • …
  • Page 130
  • Page 131
  • Page 132
  • Page 133
  • Page 134
  • Page 135
  • Page 136
  • Page 137
  • Page 138
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal