Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
Primary tabs
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 |
---|---|---|---|---|---|---|---|---|
NoopMetricExporterFactory | class | OpenTelemetry\SDK\Metrics\MetricExporter | vendor/ |
|||||
NoopObservableCallback | final class | OpenTelemetry\API\Metrics\Noop | vendor/ |
@internal | ||||
NoopObservableCounter | final class | OpenTelemetry\API\Metrics\Noop | vendor/ |
@internal | ||||
NoopObservableGauge | final class | OpenTelemetry\API\Metrics\Noop | vendor/ |
@internal | ||||
NoopObservableUpDownCounter | final class | OpenTelemetry\API\Metrics\Noop | vendor/ |
@internal | ||||
NoopObserver | final class | OpenTelemetry\SDK\Metrics\MetricRegistry | vendor/ |
@internal | ||||
NoopReservoir | final class | OpenTelemetry\SDK\Metrics\Exemplar | vendor/ |
|||||
NoopSpanBuilder | final class | OpenTelemetry\API\Trace | vendor/ |
|||||
NoopSpanProcessor | class | OpenTelemetry\SDK\Trace\SpanProcessor | vendor/ |
2 | ||||
NoopStalenessHandler | final class | OpenTelemetry\SDK\Metrics\StalenessHandler | vendor/ |
@internal | ||||
NoopStalenessHandlerFactory | final class | OpenTelemetry\SDK\Metrics\StalenessHandler | vendor/ |
1 | ||||
NoopTextMapPropagator | final class | OpenTelemetry\Context\Propagation | vendor/ |
5 | ||||
NoopTracer | final class | OpenTelemetry\API\Trace | vendor/ |
2 | ||||
NoopTracerProvider | class | OpenTelemetry\API\Trace | vendor/ |
3 | ||||
NoopTracerProvider | class | OpenTelemetry\SDK\Trace | vendor/ |
1 | ||||
NoopUpDownCounter | final class | OpenTelemetry\API\Metrics\Noop | vendor/ |
@internal | ||||
Nop | class | PhpParser\Node\Stmt | vendor/ |
Nop/empty statement (;). | 1 | |||
NoParametersExpected | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoParametersExpected class | ||||
NoPharExtensionDirectoryException | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
NoPreReleaseSuffixException | class | PharIo\Version | vendor/ |
|||||
NoPreviousThrowableException | final class | PHPUnit\Event | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 7 | |||
NoProfilesException | class | Drupal\Core\Installer\Exception | core/ |
Exception thrown if no installation profiles are available. | 1 | |||
NoProxyPattern | class | Composer\Util | vendor/ |
Tests URLs against NO_PROXY patterns | 1 | |||
NoRFCWarningsValidation | class | Egulias\EmailValidator\Validation | vendor/ |
1 | ||||
NormalInstallerServiceProvider | class | Drupal\Core\Installer | core/ |
Service provider for the installer environment. | 1 | |||
NormalizableInterface | interface | Symfony\Component\Serializer\Normalizer | vendor/ |
Defines the most basic interface a class must implement to be normalizable. | ||||
NormalizationAwareInterface | interface | Symfony\Component\Serializer\Encoder | vendor/ |
Defines the interface of encoders that will normalize data themselves. | 1 | 1 | ||
Normalizer | class | vendor/ |
||||||
Normalizer | class | Symfony\Polyfill\Intl\Normalizer | vendor/ |
Normalizer is a PHP fallback implementation of the Normalizer class provided by the intl extension. | 1 | |||
NormalizerAwareInterface | interface | Symfony\Component\Serializer\Normalizer | vendor/ |
@author Joel Wurtz <joel.wurtz@gmail.com> | 1 | 2 | ||
NormalizerAwareTrait | trait | Symfony\Component\Serializer\Normalizer | vendor/ |
@author Joel Wurtz <joel.wurtz@gmail.com> | ||||
NormalizerBase | abstract class | Drupal\serialization\Normalizer | core/ |
Base class for Normalizers. | 8 | 1 | ||
NormalizerBase | abstract class | Drupal\jsonapi\Normalizer | core/ |
Base normalizer used in all JSON:API normalizers. | 10 | |||
NormalizerInterface | interface | Symfony\Component\Serializer\Normalizer | vendor/ |
@author Jordi Boggiano <j.boggiano@seld.be> | 19 | 11 | ||
NoSeekStream | final class | GuzzleHttp\Psr7 | vendor/ |
Stream decorator that prevents a stream from being seeked. | ||||
NoServerError | class | Drupal\Core\PageCache\ResponsePolicy | core/ |
A policy denying caching of a server error (HTTP 5xx) responses. | ||||
NoSessionOpen | class | Drupal\Core\PageCache\RequestPolicy | core/ |
A policy allowing delivery of cached pages when there is no session open. | 1 | |||
NoSilencedErrorsSniff | class | PHP_CodeSniffer\Standards\Generic\Sniffs\PHP | vendor/ |
|||||
NoSourcePluginDecorator | class | Drupal\migrate\Plugin | core/ |
Remove definitions which refer to a non-existing source plugin. | ||||
NoSpaceAfterCastSniff | class | PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting | vendor/ |
|||||
NoSslException | class | Composer\Exception | vendor/ |
Specific exception for Composer\Util\HttpDownloader creation. | 1 | |||
NoSuchAlert | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchAlert class | ||||
NoSuchCookie | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchCookie class | ||||
NoSuchDriver | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchDriver class | ||||
NoSuchElement | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchElement class | 1 | |||
NoSuchElementException | class | Ramsey\Collection\Exception | vendor/ |
Thrown when attempting to access an element that does not exist. | 6 | |||
NoSuchFrame | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchFrame class | ||||
NoSuchMetadataException | class | Symfony\Component\Validator\Exception | vendor/ |
@author Bernhard Schussek <bschussek@gmail.com> | 3 | |||
NoSuchShadowRoot | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchShadowRoot class | ||||
NoSuchWindow | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\NoSuchWindow class |