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
InlineIfDeclarationSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\ControlStructures vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php
InlinePrint final class Twig\Node\Expression vendor/twig/twig/src/Node/Expression/InlinePrint.php @internal
InlineServiceConfigurator class Symfony\Component\DependencyInjection\Loader\Configurator vendor/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php @author Nicolas Grekas <p@tchwork.com>
InlineServiceDefinitionsPass class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php Inline service definitions where this is possible. 1
InlineTemplate class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/InlineTemplate.php Provides a render element where the user supplies an in-line Twig template.
InlineVariableCommentSniff class Drupal\Sniffs\Commenting vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/InlineVariableCommentSniff.php Checks for the correct usage of inline variable type declarations.
InMemoryExporter final class OpenTelemetry\SDK\Metrics\MetricExporter vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php
InMemoryExporter class OpenTelemetry\SDK\Trace\SpanExporter vendor/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php
InMemoryExporter class OpenTelemetry\SDK\Logs\Exporter vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php
InMemoryExporterFactory class OpenTelemetry\SDK\Metrics\MetricExporter vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php
InMemoryExporterFactory class OpenTelemetry\SDK\Logs\Exporter vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php
InMemorySpanExporterFactory class OpenTelemetry\SDK\Trace\SpanExporter vendor/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php
InMemoryStore class Symfony\Component\Lock\Store vendor/symfony/lock/Store/InMemoryStore.php InMemoryStore is a PersistingStoreInterface implementation using php-array to manage locks.
InnerFunctionsSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/InnerFunctionsSniff.php
InOperator class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/InOperator.php Simple filter to handle matching of multiple options selectable via checkboxes. 8 5
Input abstract class Symfony\Component\Console\Input vendor/symfony/console/Input/Input.php Input is the base class for all concrete Input classes. 2
InputArgument class Composer\Console\Input vendor/composer/composer/src/Composer/Console/Input/InputArgument.php Backport suggested values definition from symfony/console 6.1+ 22
InputArgument class Symfony\Component\Console\Input vendor/symfony/console/Input/InputArgument.php Represents a command line argument. 1 23
InputAwareHelper abstract class Symfony\Component\Console\Helper vendor/symfony/console/Helper/InputAwareHelper.php An implementation of InputAwareInterface for Helpers.
InputAwareInterface interface Symfony\Component\Console\Input vendor/symfony/console/Input/InputAwareInterface.php InputAwareInterface should be implemented by classes that depends on the Console Input. 1 2
InputBag final class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/InputBag.php InputBag is a container for user input values such as $_GET, $_POST, $_REQUEST, and $_COOKIE. 6
InputCollectorInterface interface Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/InputCollectorInterface.php 1
InputConfigurator final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/InputConfigurator.php Collects and validates input values for a recipe.
InputDefinition class Symfony\Component\Console\Input vendor/symfony/console/Input/InputDefinition.php A InputDefinition represents a set of valid command line arguments and options. 14
InputFormField class Symfony\Component\DomCrawler\Field vendor/symfony/dom-crawler/Field/InputFormField.php InputFormField represents an input form field (an HTML input tag). 1
InputInterface interface Symfony\Component\Console\Input vendor/symfony/console/Input/InputInterface.php InputInterface is the interface implemented by all input classes. 2 77
InputOption class Symfony\Component\Console\Input vendor/symfony/console/Input/InputOption.php Represents a command line option. 1 32
InputOption class Composer\Console\Input vendor/composer/composer/src/Composer/Console/Input/InputOption.php Backport suggested values definition from symfony/console 6.1+ 26
InputRequired class Drupal\views\Plugin\views\exposed_form core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Exposed form plugin that provides an exposed form with required input.
InputStream class Symfony\Component\Process vendor/symfony/process/InputStream.php Provides a way to continuously write to the input of a Process until the InputStream is closed.
InputStream

since 2.4, to remove in 3.0. Use a string in the scanner instead.

interface Masterminds\HTML5\Parser vendor/masterminds/html5/src/HTML5/Parser/InputStream.php Interface for stream readers. 2
InputStreamFileWriter class Drupal\file\Upload core/modules/file/src/Upload/InputStreamFileWriter.php Writes files from a input stream to a temporary file. 2
InputStreamFileWriterInterface interface Drupal\file\Upload core/modules/file/src/Upload/InputStreamFileWriterInterface.php Uploads files from a stream. 1 2
InputStreamUploadedFile final class Drupal\file\Upload core/modules/file/src/Upload/InputStreamUploadedFile.php An uploaded file from an input stream. 2
InsecureCertificate final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InsecureCertificate.php WebDriver\Exception\InsecureCertificate class
InsecureUnserializeSniff class DrupalPractice\Sniffs\FunctionCalls vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/InsecureUnserializeSniff.php Check that unserialize() limits classes that may be unserialized.
Insert class Drupal\mysql\Driver\Database\mysql core/modules/mysql/src/Driver/Database/mysql/Insert.php MySQL implementation of \Drupal\Core\Database\Query\Insert.
Insert class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/Insert.php General class for an abstracted INSERT query. 3 4
Insert class Drupal\sqlite\Driver\Database\sqlite core/modules/sqlite/src/Driver/Database/sqlite/Insert.php SQLite implementation of \Drupal\Core\Database\Query\Insert.
Insert class Drupal\pgsql\Driver\Database\pgsql core/modules/pgsql/src/Driver/Database/pgsql/Insert.php PostgreSQL implementation of \Drupal\Core\Database\Query\Insert.
InsertCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/InsertCommand.php Generic AJAX command for inserting content. 6 3
InsertTrait trait Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/InsertTrait.php Provides common functionality for INSERT and UPSERT queries.
Inspector class Drupal\Component\Assertion core/lib/Drupal/Component/Assertion/Inspector.php Generic inspections for the assert() statement. 36
InstallationManager class Composer\Installer vendor/composer/composer/src/Composer/Installer/InstallationManager.php Package operation manager. 7
InstallCommand class Drupal\Core\Command core/lib/Drupal/Core/Command/InstallCommand.php Installs a Drupal site for local testing/development.
InstallCommand class Composer\Command vendor/composer/composer/src/Composer/Command/InstallCommand.php @author Jordi Boggiano <j.boggiano@seld.be> @author Ryan Weaver <ryan@knplabs.com> @author Konstantin Kudryashov <ever.zet@gmail.com> @author Nils Adermann <naderman@naderman.de>
InstallConfigurator final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/InstallConfigurator.php @internal This API is experimental.
InstalledArrayRepository class Composer\Repository vendor/composer/composer/src/Composer/Repository/InstalledArrayRepository.php Installed array repository. 4
InstalledFilesystemRepository class Composer\Repository vendor/composer/composer/src/Composer/Repository/InstalledFilesystemRepository.php Installed filesystem repository.
InstalledPackage final class Drupal\package_manager core/modules/package_manager/src/InstalledPackage.php A value object that represents an installed Composer package.

Pagination

  • First page
  • Previous page
  • …
  • Page 92
  • Page 93
  • Page 94
  • Page 95
  • Page 96
  • Page 97
  • Page 98
  • Page 99
  • Page 100
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal