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
FormField abstract class Symfony\Component\DomCrawler\Field vendor/symfony/dom-crawler/Field/FormField.php FormField is the abstract class for all form fields. 4 3
FormFieldRegistry class Symfony\Component\DomCrawler vendor/symfony/dom-crawler/FormFieldRegistry.php This is an internal class that must not be used directly.
FormHelper class Drupal\Core\Form core/lib/Drupal/Core/Form/FormHelper.php Provides helpers to operate on forms. 5
FormInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/FormInterface.php Provides an interface for a Form. 9 8
FormModeAccessCheck class Drupal\field_ui\Access core/modules/field_ui/src/Access/FormModeAccessCheck.php Defines an access check for entity form mode routes. 2
FormOperations class Drupal\workspaces core/modules/workspaces/src/FormOperations.php Defines a class for reacting to form operations. 1
FormRouteEnhancer class Drupal\Core\Routing\Enhancer core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php Enhancer to add a wrapping controller for _form routes.
FormSizeFileException class Symfony\Component\HttpFoundation\File\Exception vendor/symfony/http-foundation/File/Exception/FormSizeFileException.php Thrown when an UPLOAD_ERR_FORM_SIZE error occurred with UploadedFile. 1
FormState class Drupal\Core\Form core/lib/Drupal/Core/Form/FormState.php Stores information about the state of a form. 9
FormStateDecoratorBase abstract class Drupal\Core\Form core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Decorates another form state. 1
FormStateInputSniff class DrupalPractice\Sniffs\General vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/General/FormStateInputSniff.php Throws a message whenever $form_state['input'] is used. $form_state['values'] is preferred.
FormStateInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/FormStateInterface.php Provides an interface for an object containing the current state of a form. 3 675
FormStateValuesTrait trait Drupal\Core\Form core/lib/Drupal/Core/Form/FormStateValuesTrait.php Provides methods to manage form state values.
FormSubmitter class Drupal\Core\Form core/lib/Drupal/Core/Form/FormSubmitter.php Provides submission processing for forms.
FormSubmitterInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/FormSubmitterInterface.php Provides an interface for processing form submissions. 2
Formula class Drupal\views\Plugin\views\argument core/modules/views/src/Plugin/views/argument/Formula.php Argument handler for simple formulae. 1
FormUploadedFile class Drupal\file\Upload core/modules/file/src/Upload/FormUploadedFile.php Provides a bridge to Symfony UploadedFile. 2
FormValidator class Drupal\Core\Form core/lib/Drupal/Core/Form/FormValidator.php Provides validation of form submissions.
FormValidatorInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/FormValidatorInterface.php Provides an interface for validating form submissions. 2
ForNode class Twig\Node vendor/twig/twig/src/Node/ForNode.php Represents a for node. 2
ForOfStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ForOfStatement.php A node that represents the "for...of" statement. For example: for (var a of b) {}
ForStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ForStatement.php A node that represents a for statement.
ForTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/ForTokenParser.php Loops over each item of a sequence. 1
For_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/For_.php 1
FossilDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/FossilDownloader.php @author BohwaZ <http://bohwaz.net/>
FossilDriver class Composer\Repository\Vcs vendor/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php @author BohwaZ <http://bohwaz.net/>
Fqsen final class phpDocumentor\Reflection\DocBlock\Tags\Reference vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php Fqsen reference used by { 1
Fqsen final class phpDocumentor\Reflection vendor/phpdocumentor/reflection-common/src/Fqsen.php Value Object for Fqsen. 8
FqsenResolver class phpDocumentor\Reflection vendor/phpdocumentor/type-resolver/src/FqsenResolver.php Resolver for Fqsen using Context information 4
FragmentHandler class Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/FragmentHandler.php Renders a URI that represents a resource fragment. 1 1
FragmentListener class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/FragmentListener.php Handles content fragments represented by special URIs. 1
FragmentRendererInterface interface Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/FragmentRendererInterface.php Interface implemented by all rendering strategies. 1 2
FragmentRendererPass class Symfony\Component\HttpKernel\DependencyInjection vendor/symfony/http-kernel/DependencyInjection/FragmentRendererPass.php Adds services tagged kernel.fragment_renderer as HTTP content rendering strategies.
FragmentUriGenerator final class Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/FragmentUriGenerator.php Generates a fragment URI.
FragmentUriGeneratorInterface interface Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/FragmentUriGeneratorInterface.php Interface implemented by rendering strategies able to generate a URL for a fragment. 1
Frame class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/Frame.php WebDriver\Frame class
FrameStub class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/FrameStub.php Represents a single backtrace frame as returned by debug_backtrace() or Exception->getTrace().
FrenchInflector final class Symfony\Component\String\Inflector vendor/symfony/string/Inflector/FrenchInflector.php French inflector.
FriendlySpanConverter class OpenTelemetry\SDK\Trace\SpanExporter vendor/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php
FromCallableConfigurator class Symfony\Component\DependencyInjection\Loader\Configurator vendor/symfony/dependency-injection/Loader/Configurator/FromCallableConfigurator.php @author Nicolas Grekas <p@tchwork.com> 1
FromCallableTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/FromCallableTrait.php
FromTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/FromTokenParser.php Imports macros. 1
FrontMatter class Drupal\Component\FrontMatter core/lib/Drupal/Component/FrontMatter/FrontMatter.php Component for parsing front matter from a source. 3
FrontMatterParseException class Drupal\Component\FrontMatter\Exception core/lib/Drupal/Component/FrontMatter/Exception/FrontMatterParseException.php Defines a class for front matter parsing exceptions. 2
FrozenParameterBag class Symfony\Component\DependencyInjection\ParameterBag vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php Holds read-only parameters. 1 1
FTP abstract class Drupal\Core\FileTransfer core/lib/Drupal/Core/FileTransfer/FTP.php Defines the base class for FTP implementations. 1
FTPExtension class Drupal\Core\FileTransfer core/lib/Drupal/Core/FileTransfer/FTPExtension.php Defines a file transfer class using the PHP FTP extension.
FuelInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
FuelphpInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
FulfilledPromise final class React\Promise\Internal vendor/react/promise/src/Internal/FulfilledPromise.php @internal 1

Pagination

  • First page
  • Previous page
  • …
  • Page 79
  • Page 80
  • Page 81
  • Page 82
  • Page 83
  • Page 84
  • Page 85
  • Page 86
  • Page 87
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal