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
NodeVisitorAbstract abstract class PhpParser vendor/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php @codeCoverageIgnore 13 13
NodeVisitorInterface interface Twig\NodeVisitor vendor/twig/twig/src/NodeVisitor/NodeVisitorInterface.php Interface for node visitor classes. 11 10
NoDNSMXRecord class Egulias\EmailValidator\Warning vendor/egulias/email-validator/src/Warning/NoDNSMXRecord.php 1
NoDNSRecord class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/NoDNSRecord.php 1 1
NoDomainPart class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/NoDomainPart.php 1
NoEmailAddressException class PharIo\Manifest vendor/phar-io/manifest/src/exceptions/NoEmailAddressException.php
NoFieldsException class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/NoFieldsException.php Exception thrown if an insert query doesn't specify insert or default fields.
NoFileException class Symfony\Component\HttpFoundation\File\Exception vendor/symfony/http-foundation/File/Exception/NoFileException.php Thrown when an UPLOAD_ERR_NO_FILE error occurred with UploadedFile. 4
NoHardLinksExist final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/NoHardLinksExist.php @package Precondition 2
NoHardLinksExistInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/NoHardLinksExistInterface.php Asserts that there are no hard links in the codebase. 1 2
NoLinksExistOnWindows final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/NoLinksExistOnWindows.php @package Precondition 2
NoLinksExistOnWindowsInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/NoLinksExistOnWindowsInterface.php Asserts that there are no links at all if on Windows. 1 2
NoLocalPart class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/NoLocalPart.php 2
NoLock final class Symfony\Component\Lock vendor/symfony/lock/NoLock.php A non locking lock.
NoMissingSpaceInClassAnnotationRule class PHPStan\Rules\PHPUnit vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/NoMissingSpaceInClassAnnotationRule.php @implements Rule<InClassNode>
NoMissingSpaceInMethodAnnotationRule class PHPStan\Rules\PHPUnit vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/NoMissingSpaceInMethodAnnotationRule.php @implements Rule<InClassMethodNode>
NoMoreReturnValuesConfiguredException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/NoMoreReturnValuesConfiguredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
None class Drupal\views\Plugin\views\pager core/modules/views/src/Plugin/views/pager/None.php Plugin for views without pagers.
None class Drupal\views\Plugin\views\cache core/modules/views/src/Plugin/views/cache/None.php Caching plugin that provides no caching at all.
None class Drupal\views\Plugin\views\access core/modules/views/src/Plugin/views/access/None.php Access plugin that provides no access control at all.
None class Drupal\views\Plugin\views\argument_validator core/modules/views/src/Plugin/views/argument_validator/None.php Do not validate the argument.
NoneExemplarFilter final class OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php The exemplar spec is not yet stable, and can change at any time. see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar 1
NonEmptyArray final class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyArray.php Value Object representing the type 'non-empty-array'. 1
NonEmptyList final class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyList.php Value Object representing the type 'non-empty-list'. 1
NonEmptyLowercaseString final class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyLowercaseString.php Value Object representing the type 'string'. 1
NonEmptyString final class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyString.php Value Object representing the type 'string'. 1
NoNestingOnWindows final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/NoNestingOnWindows.php @package Precondition 2
NoNestingOnWindowsInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/NoNestingOnWindowsInterface.php Asserts that the active and staging directories are not nested on Windows. 1 2
NonExecutableCodeSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php
NonRecordingSpan final class OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/NonRecordingSpan.php @psalm-internal OpenTelemetry
NoopConfigProperties class OpenTelemetry\API\Configuration\Noop vendor/open-telemetry/api/Configuration/Noop/NoopConfigProperties.php 1
NoopConfigProvider class OpenTelemetry\API\Configuration\Noop vendor/open-telemetry/api/Configuration/Noop/NoopConfigProvider.php
NoopCounter final class OpenTelemetry\API\Metrics\Noop vendor/open-telemetry/api/Metrics/Noop/NoopCounter.php @internal
NoopEventLogger class OpenTelemetry\API\Logs vendor/open-telemetry/api/Logs/NoopEventLogger.php
NoopEventLoggerProvider class OpenTelemetry\API\Logs vendor/open-telemetry/api/Logs/NoopEventLoggerProvider.php 2
NoopEventLoggerProvider class OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/NoopEventLoggerProvider.php
NoopExporter class OpenTelemetry\SDK\Logs\Exporter vendor/open-telemetry/sdk/Logs/Exporter/NoopExporter.php 1
NoopGauge final class OpenTelemetry\API\Metrics\Noop vendor/open-telemetry/api/Metrics/Noop/NoopGauge.php @internal
NoopHistogram final class OpenTelemetry\API\Metrics\Noop vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php @internal
NoopHookManager final class OpenTelemetry\API\Instrumentation\AutoInstrumentation vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/NoopHookManager.php 1
NoopInstaller class Composer\Installer vendor/composer/composer/src/Composer/Installer/NoopInstaller.php Does not install anything but marks packages installed in the repo
NoopLogger class OpenTelemetry\API\Logs vendor/open-telemetry/api/Logs/NoopLogger.php 2
NoopLoggerProvider class OpenTelemetry\API\Logs vendor/open-telemetry/api/Logs/NoopLoggerProvider.php 2
NoopLoggerProvider class OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/NoopLoggerProvider.php 1
NoopLogRecordProcessor class OpenTelemetry\SDK\Logs\Processor vendor/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php 2
NoopLogWriter class OpenTelemetry\API\Behavior\Internal\LogWriter vendor/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php 2
NoopMeter final class OpenTelemetry\API\Metrics\Noop vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php 3
NoopMeterProvider final class OpenTelemetry\API\Metrics\Noop vendor/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php 2
NoopMeterProvider class OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/NoopMeterProvider.php 2
NoopMetricExporter class OpenTelemetry\SDK\Metrics\MetricExporter vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php 1

Pagination

  • First page
  • Previous page
  • …
  • Page 127
  • Page 128
  • Page 129
  • Page 130
  • Page 131
  • Page 132
  • Page 133
  • Page 134
  • Page 135
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal