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
False_ final class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/False_.php Value Object representing the PseudoType 'False', which is a Boolean type. 1
Fast404ExceptionHtmlSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php High-performance 404 exception subscriber.
FatalError class Symfony\Component\ErrorHandler\Error vendor/symfony/error-handler/Error/FatalError.php 1 4
Features class Peast\Syntax\ES2018 vendor/mck89/peast/lib/Peast/Syntax/ES2018/Features.php ES2018 features class 1
Features class Peast\Syntax\ES2019 vendor/mck89/peast/lib/Peast/Syntax/ES2019/Features.php ES2019 features class 1
Features class Peast\Syntax\ES2023 vendor/mck89/peast/lib/Peast/Syntax/ES2023/Features.php ES2023 features class 1
Features class Peast\Syntax vendor/mck89/peast/lib/Peast/Syntax/Features.php Parser features class 1
Features class Peast\Syntax\ES2020 vendor/mck89/peast/lib/Peast/Syntax/ES2020/Features.php ES2020 features class 1
Features class Peast\Syntax\ES2016 vendor/mck89/peast/lib/Peast/Syntax/ES2016/Features.php ES2016 features class 1
Features class Peast\Syntax\ES2022 vendor/mck89/peast/lib/Peast/Syntax/ES2022/Features.php ES2022 features class 1
Features class Peast\Syntax\ES2015 vendor/mck89/peast/lib/Peast/Syntax/ES2015/Features.php ES2015 features class 1
Features class Peast\Syntax\ES2024 vendor/mck89/peast/lib/Peast/Syntax/ES2024/Features.php ES2024 features class
Features class Peast\Syntax\ES2021 vendor/mck89/peast/lib/Peast/Syntax/ES2021/Features.php ES2021 features class 1
Features class Peast\Syntax\ES2017 vendor/mck89/peast/lib/Peast/Syntax/ES2017/Features.php ES2017 features class 1
FeatureSet class Ramsey\Uuid vendor/ramsey/uuid/src/FeatureSet.php FeatureSet detects and exposes available features in the current environment
Feed class Drupal\views\Plugin\views\display core/modules/views/src/Plugin/views/display/Feed.php The plugin that handles a feed, such as RSS or atom.
FetchingClassConstOfDeprecatedClassRule class PHPStan\Rules\Deprecations vendor/phpstan/phpstan-deprecation-rules/src/Rules/Deprecations/FetchingClassConstOfDeprecatedClassRule.php @implements Rule<ClassConstFetch>
FetchingDeprecatedConstRule class PHPStan\Rules\Deprecations vendor/phpstan/phpstan-deprecation-rules/src/Rules/Deprecations/FetchingDeprecatedConstRule.php @implements Rule<ConstFetch>
FetchModeTrait trait Drupal\Core\Database core/lib/Drupal/Core/Database/FetchModeTrait.php Provide helper methods for statement fetching.
FFICaster final class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/FFICaster.php Casts FFI extension classes to array representation.
FiberBoundContextStorage final class OpenTelemetry\Context vendor/open-telemetry/context/FiberBoundContextStorage.php @internal
FiberBoundContextStorageExecutionAwareBC final class OpenTelemetry\Context vendor/open-telemetry/context/FiberBoundContextStorageExecutionAwareBC.php @internal
FiberCaster final class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/FiberCaster.php Casts Fiber related classes to array representation.
FiberLocal final class Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/FiberLocal.php Fiber local storage. 1
Fid class Drupal\file\Plugin\views\argument core/modules/file/src/Plugin/views/argument/Fid.php Argument handler to accept multiple file ids.
Field class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/Field.php A single field of a message type.
Field class Drupal\field\Plugin\migrate\source\d6 core/modules/field/src/Plugin/migrate/source/d6/Field.php Drupal 6 field source from database. 1
Field class Drupal\field\Plugin\migrate\source\d7 core/modules/field/src/Plugin/migrate/source/d7/Field.php Drupal 7 field source from database. 1
FieldableEntity abstract class Drupal\migrate_drupal\Plugin\migrate\source\d7 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php Base class for D7 source plugins which need to collect field values. 8 8
FieldableEntityInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Interface for entities having fields. 1 64
FieldableEntityNormalizerTrait trait Drupal\serialization\Normalizer core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php A trait for providing fieldable entity normalization/denormalization methods.
FieldableEntityStorageInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php A storage that supports entity types with field definitions. 1 3
FieldAPIHandlerTrait trait Drupal\views core/modules/views/src/FieldAPIHandlerTrait.php A trait containing helper methods for field definitions. 8
FieldBlock class Drupal\layout_builder\Plugin\Block core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Provides a block that renders a field from an entity.
FieldBlockDeriver class Drupal\layout_builder\Plugin\Derivative core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Provides entity field block definitions for every field. 1
FieldBundle class Drupal\field\Plugin\migrate\process\d7 core/modules/field/src/Plugin/migrate/process/d7/FieldBundle.php Determines the bundle for a field.
FieldConfig class Drupal\field\Entity core/modules/field/src/Entity/FieldConfig.php Defines the Field entity. 8
FieldConfigAccessControlHandler class Drupal\field core/modules/field/src/FieldConfigAccessControlHandler.php Defines the access control handler for the field config entity type. 1
FieldConfigAddController final class Drupal\field_ui\Controller core/modules/field_ui/src/Controller/FieldConfigAddController.php Controller for building the field instance form. 1
FieldConfigBase abstract class Drupal\Core\Field core/lib/Drupal/Core/Field/FieldConfigBase.php Base class for configurable field definitions. 2 2
FieldConfigDeleteForm class Drupal\field_ui\Form core/modules/field_ui/src/Form/FieldConfigDeleteForm.php Provides a form for removing a field from a bundle.
FieldConfigEditForm class Drupal\field_ui\Form core/modules/field_ui/src/Form/FieldConfigEditForm.php Provides a form for the field settings form. 1
FieldConfigInterface interface Drupal\Core\Field core/lib/Drupal/Core/Field/FieldConfigInterface.php Defines an interface for configurable field definitions. 1 1
FieldConfigInterface interface Drupal\field core/modules/field/src/FieldConfigInterface.php Provides an interface defining a field entity. 1 14
FieldConfigListBuilder class Drupal\field_ui core/modules/field_ui/src/FieldConfigListBuilder.php Provides lists of field config entities.
FieldConfigListController class Drupal\field_ui\Controller core/modules/field_ui/src/Controller/FieldConfigListController.php Defines a controller to list field instances.
FieldConfigStorage class Drupal\field core/modules/field/src/FieldConfigStorage.php Storage handler for field config. 1
FieldConfigStorageBase abstract class Drupal\Core\Field core/lib/Drupal/Core/Field/FieldConfigStorageBase.php Base storage class for field config entities. 2 1
FieldDefinition class Drupal\Core\Field core/lib/Drupal/Core/Field/FieldDefinition.php A class for defining entity field definitions. 2
FieldDefinitionInterface interface Drupal\Core\Field core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Defines an interface for entity field definitions. 4 99

Pagination

  • First page
  • Previous page
  • …
  • Page 69
  • Page 70
  • Page 71
  • Page 72
  • Page 73
  • Page 74
  • Page 75
  • Page 76
  • Page 77
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal