Classes, traits, and interfaces - 8.9.x - drupal
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 1511
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
FeedXmlAnonTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest | ||||
FeedXmlBasicAuthTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest | ||||
FeedXmlCookieTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest | ||||
FetcherInterface | interface | Drupal\aggregator\Plugin | core/ |
Defines an interface for aggregator fetcher implementations. | 2 | 2 | ||
FetchTest | class | Drupal\KernelTests\Core\Database | core/ |
Tests the Database system's various fetch capabilities. | ||||
Fid | class | Drupal\file\Plugin\views\argument | core/ |
Argument handler to accept multiple file ids. | ||||
Fid | class | Drupal\aggregator\Plugin\views\argument | core/ |
Argument handler to accept an aggregator feed id. | ||||
Field | in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\views\Plugin\views\field\EntityField instead. |
class | Drupal\views\Plugin\views\field | core/ |
A stub class to provide backward compatibility for EntityField. | |||
Field | class | Drupal\field\Plugin\migrate\source\d6 | core/ |
Drupal 6 field source from database. | 1 | |||
Field | class | Drupal\field\Plugin\migrate\source\d7 | core/ |
Drupal 7 field source from database. | 1 | |||
FieldableEntity | abstract class | Drupal\migrate_drupal\Plugin\migrate\source\d7 | core/ |
Base class for D7 source plugins which need to collect field values from the Field API. | 8 | 8 | ||
FieldableEntityDefinitionUpdateTest | class | Drupal\KernelTests\Core\Entity | core/ |
Tests EntityDefinitionUpdateManager's fieldable entity update functionality. | ||||
FieldableEntityInterface | interface | Drupal\Core\Entity | core/ |
Interface for entities having fields. | 1 | 92 | ||
FieldableEntityNormalizerTrait | trait | Drupal\serialization\Normalizer | core/ |
A trait for providing fieldable entity normalization/denormalization methods. | 2 | |||
FieldableEntityStorageInterface | interface | Drupal\Core\Entity | core/ |
A storage that supports entity types with field definitions. | 1 | 3 | ||
FieldAccessTest | class | Drupal\KernelTests\Core\Field | core/ |
Tests Field level access hooks. | ||||
FieldAccessTest | class | Drupal\Tests\field\Functional | core/ |
Tests Field access. | ||||
FieldApiDataTest | class | Drupal\Tests\views\Kernel | core/ |
Tests the Field Views data. | ||||
FieldAPIHandlerTrait | trait | Drupal\views | core/ |
A trait containing helper methods for field definitions. | 7 | |||
FieldAttachOtherTest | class | Drupal\Tests\field\Kernel | core/ |
Tests other Field API functions. | ||||
FieldAttachStorageTest | class | Drupal\Tests\field\Kernel | core/ |
Tests storage-related Field Attach API functions. | ||||
FieldBlock | class | Drupal\layout_builder\Plugin\Block | core/ |
Provides a block that renders a field from an entity. | 1 | 2 | ||
FieldBlock | class | Drupal\layout_builder_fieldblock_test\Plugin\Block | core/ |
Provides test field block to test with Block UI. | ||||
FieldBlockDeriver | class | Drupal\layout_builder\Plugin\Derivative | core/ |
Provides entity field block definitions for every field. | ||||
FieldBlockTest | class | Drupal\Tests\layout_builder\FunctionalJavascript | core/ |
@coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock | ||||
FieldBlockTest | class | Drupal\Tests\layout_builder\Kernel | core/ |
@coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock @group Field | ||||
FieldBooleanTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\field\Boolean handler. | ||||
FieldConfig | class | Drupal\field\Entity | core/ |
Defines the Field entity. | 294 | |||
FieldConfigAccessControlHandler | class | Drupal\field | core/ |
Defines the access control handler for the field config entity type. | 1 | |||
FieldConfigAccessControlHandlerTest | class | Drupal\Tests\field\Unit | core/ |
Tests the field config access controller. | ||||
FieldConfigBase | abstract class | Drupal\Core\Field | core/ |
Base class for configurable field definitions. | 2 | 2 | ||
FieldConfigDeleteForm | class | Drupal\field_ui\Form | core/ |
Provides a form for removing a field from a bundle. | ||||
FieldConfigEditForm | class | Drupal\field_ui\Form | core/ |
Provides a form for the field settings form. | ||||
FieldConfigEntityUnitTest | class | Drupal\Tests\field\Unit | core/ |
@coversDefaultClass \Drupal\field\Entity\FieldConfig @group field | ||||
FieldConfigHalJsonAnonTest | class | Drupal\Tests\field\Functional\Hal | core/ |
@group hal | ||||
FieldConfigHalJsonBasicAuthTest | class | Drupal\Tests\field\Functional\Hal | core/ |
@group hal | ||||
FieldConfigHalJsonCookieTest | class | Drupal\Tests\field\Functional\Hal | core/ |
@group hal | ||||
FieldConfigInterface | interface | Drupal\Core\Field | core/ |
Defines an interface for configurable field definitions. | 1 | 4 | ||
FieldConfigInterface | interface | Drupal\field | core/ |
Provides an interface defining a field entity. | 1 | 15 | ||
FieldConfigJsonAnonTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest | ||||
FieldConfigJsonBasicAuthTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest | ||||
FieldConfigJsonCookieTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest | ||||
FieldConfigListBuilder | class | Drupal\field_ui | core/ |
Provides lists of field config entities. | ||||
FieldConfigListController | class | Drupal\field_ui\Controller | core/ |
Defines a controller to list field instances. | ||||
FieldConfigResourceTestBase | in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\field\Functional\Rest\FieldConfigResourceTestBase instead. |
abstract class | Drupal\Tests\rest\Functional\EntityResource\FieldConfig | core/ |
||||
FieldConfigResourceTestBase | abstract class | Drupal\Tests\field\Functional\Rest | core/ |
10 | 4 | |||
FieldConfigStorage | class | Drupal\field | core/ |
Storage handler for field config. | ||||
FieldConfigStorageBase | abstract class | Drupal\Core\Field | core/ |
Base storage class for field config entities. | 2 | 1 | ||
FieldConfigTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "FieldConfig" config entity type. | ||||
FieldConfigXmlAnonTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest |
Pagination
- Previous page
- Page 64
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.