Classes, traits, and interfaces - 9.5.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 1523
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
FieldNormalizer | class | Drupal\serialization\Normalizer | core/ |
Denormalizes data to Drupal field values. | 1 | 1 | 2 | |
FieldNormalizer | class | Drupal\hal\Normalizer | core/ |
Converts the Drupal field structure to HAL array structure. | 1 | 2 | ||
FieldNormalizerDenormalizeExceptionsTest | class | Drupal\Tests\hal\Unit | core/ |
Tests the exceptions thrown by FieldNormalizer and FieldItemNormalizer. | ||||
FieldNumericTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\field\Numeric handler. | ||||
FieldOptionTranslation | class | Drupal\field\Plugin\migrate\source\d6 | core/ |
Drupal 6 i18n field option labels source from database. | 1 | |||
FieldOptionTranslation | class | Drupal\field\Plugin\migrate\source\d7 | core/ |
Drupal 7 i18n field option label source from database. | ||||
FieldOptionTranslation | class | Drupal\field\Plugin\migrate\process\d6 | core/ |
Determines the allowed values translation for select lists. | ||||
FieldOptionTranslation | class | Drupal\field\Plugin\migrate\process\d7 | core/ |
Determines the allowed values translation for select lists. | ||||
FieldOptionTranslationTest | class | Drupal\Tests\field\Kernel\Plugin\migrate\source\d6 | core/ |
Tests the field option translation source plugin. | 1 | |||
FieldOptionTranslationTest | class | Drupal\Tests\field\Kernel\Plugin\migrate\source\d7 | core/ |
Tests the field option translation source plugin. | ||||
FieldOrLanguageJoin | class | Drupal\views\Plugin\views\join | core/ |
Implementation for the "field OR language" join. | 1 | |||
FieldOrLanguageJoinTest | class | Drupal\Tests\views\Kernel\Plugin | core/ |
Tests the "field OR language" join plugin. | ||||
FieldPluginBase | abstract class | Drupal\views\Plugin\views\field | core/ |
Base class for views fields. | 34 | 13 | ||
FieldPluginBase | abstract class | Drupal\migrate_drupal\Plugin\migrate\field | core/ |
The base class for all field plugins. | 18 | 17 | ||
FieldPluginBaseTest | class | Drupal\Tests\views\Unit\Plugin\field | core/ |
@coversDefaultClass \Drupal\views\Plugin\views\field\FieldPluginBase @group views | ||||
FieldPluginBaseTestField | class | Drupal\Tests\views\Unit\Plugin\field | core/ |
|||||
FieldRdfaDatatypeCallbackTest | class | Drupal\Tests\rdf\Kernel\Field | core/ |
Tests the RDFa output of a text field formatter with a datatype callback. | ||||
FieldRdfaTestBase | abstract class | Drupal\Tests\rdf\Kernel\Field | core/ |
9 | ||||
FieldRenderedEntityTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\field\RenderedEntity handler. | ||||
FieldRenderedEntityTranslationTest | class | Drupal\Tests\views\Functional\Entity | core/ |
Tests the rendering of the 'rendered_entity' field and translations. | ||||
FieldResolver | class | Drupal\jsonapi\Context | core/ |
A service that evaluates external path expressions against Drupal fields. | 5 | 2 | ||
FieldResolverTest | class | Drupal\Tests\jsonapi\Kernel\Context | core/ |
@coversDefaultClass \Drupal\jsonapi\Context\FieldResolver @group jsonapi | ||||
Fields | class | Drupal\views\Plugin\views\row | core/ |
The basic 'fields' row plugin. | 1 | 2 | ||
Fieldset | class | Drupal\Core\Render\Element | core/ |
Provides a render element for a group of form elements. | 1 | |||
FieldSettings | class | Drupal\field\Plugin\migrate\process\d6 | core/ |
Get the field settings. | 1 | |||
FieldSettings | class | Drupal\field\Plugin\migrate\process\d7 | core/ |
Plugin annotation @MigrateProcessPlugin( id = "d7_field_settings" ) | 1 | |||
FieldSettingsTest | class | Drupal\Tests\field\Unit\Plugin\migrate\process\d6 | core/ |
@coversDefaultClass \Drupal\field\Plugin\migrate\process\d6\FieldSettings @group field | ||||
FieldSettingsTest | class | Drupal\Tests\field\Unit\Plugin\migrate\process\d7 | core/ |
@coversDefaultClass \Drupal\field\Plugin\migrate\process\d7\FieldSettings @group field | ||||
FieldSettingsTest | class | Drupal\KernelTests\Core\Field | core/ |
Tests field settings methods on field definition structures. | ||||
FieldsOverlapException | class | Drupal\Core\Database\Query | core/ |
Exception thrown if an insert query specifies a field twice. | ||||
FieldSqlStorageTest | class | Drupal\KernelTests\Core\Entity | core/ |
Tests Field SQL Storage . | ||||
FieldStorageAddForm | class | Drupal\field_ui\Form | core/ |
Provides a form for the "field storage" add page. | ||||
FieldStorageConfig | class | Drupal\field\Entity | core/ |
Defines the Field storage configuration entity. | 289 | |||
FieldStorageConfigAccessControlHandler | class | Drupal\field | core/ |
Defines the access control handler for the field storage config entity type. | 1 | |||
FieldStorageConfigAccessControlHandlerTest | class | Drupal\Tests\field\Unit | core/ |
Tests the field storage config access controller. | 1 | |||
FieldStorageConfigEditForm | class | Drupal\field_ui\Form | core/ |
Provides a form for the "field storage" edit page. | ||||
FieldStorageConfigEntityUnitTest | class | Drupal\Tests\field\Unit | core/ |
@coversDefaultClass \Drupal\field\Entity\FieldStorageConfig | ||||
FieldStorageConfigHalJsonAnonTest | class | Drupal\Tests\hal\Functional\field | core/ |
@group hal @group legacy | ||||
FieldStorageConfigHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\field | core/ |
@group hal @group legacy | ||||
FieldStorageConfigHalJsonCookieTest | class | Drupal\Tests\hal\Functional\field | core/ |
@group hal @group legacy | ||||
FieldStorageConfigInterface | interface | Drupal\field | core/ |
Provides an interface defining a field storage entity. | 1 | 20 | ||
FieldStorageConfigJsonAnonTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest | ||||
FieldStorageConfigJsonBasicAuthTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest | ||||
FieldStorageConfigJsonCookieTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest | ||||
FieldStorageConfigListBuilder | class | Drupal\field_ui | core/ |
Defines a class to build a listing of fields. | ||||
FieldStorageConfigResourceTestBase | abstract class | Drupal\Tests\field\Functional\Rest | core/ |
9 | 3 | |||
FieldStorageConfigStorage | class | Drupal\field | core/ |
Storage handler for "field storage" configuration entities. | ||||
FieldStorageConfigTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "FieldStorageConfig" config entity type. | ||||
FieldStorageConfigUpdateForbiddenException | class | Drupal\field | core/ |
Exception class thrown by hook_field_storage_config_update_forbid(). | ||||
FieldStorageConfigXmlAnonTest | class | Drupal\Tests\field\Functional\Rest | core/ |
@group rest |
Pagination
- Previous page
- Page 68
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.