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 |
---|---|---|---|---|---|---|---|---|
Feed | class | Drupal\views\Plugin\views\display | core/ |
The plugin that handles a feed, such as RSS or atom. | ||||
FeedAccessControlHandler | class | Drupal\aggregator | core/ |
Defines an access control handler for the feed entity. | ||||
FeedAdminDisplayTest | class | Drupal\Tests\aggregator\Functional | core/ |
Tests the display of a feed on the Aggregator list page. | ||||
FeedCacheTagsTest | class | Drupal\Tests\aggregator\Functional | core/ |
Tests the Feed entity's cache tags. | ||||
FeedDeleteForm | class | Drupal\aggregator\Form | core/ |
Provides a form for deleting a feed. | ||||
FeedFetcherPluginTest | class | Drupal\Tests\aggregator\Functional | core/ |
Tests the fetcher plugins functionality and discoverability. | ||||
FeedForm | class | Drupal\aggregator | core/ |
Form handler for the aggregator feed edit forms. | ||||
FeedHalJsonAnonTest | class | Drupal\Tests\hal\Functional\aggregator | core/ |
@group hal @group legacy | ||||
FeedHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\aggregator | core/ |
@group hal @group legacy | ||||
FeedHalJsonCookieTest | class | Drupal\Tests\hal\Functional\aggregator | core/ |
@group hal @group legacy | ||||
FeedHalJsonTestBase | abstract class | Drupal\Tests\hal\Functional\aggregator | core/ |
3 | ||||
FeedHtmlRouteProvider | class | Drupal\aggregator | core/ |
Provides HTML routes for the feed entity type. | ||||
FeedInterface | interface | Drupal\aggregator | core/ |
Provides an interface defining an aggregator feed entity. | 1 | 13 | ||
FeedItemsDeleteForm | class | Drupal\aggregator\Form | core/ |
Provides a deletion confirmation form for items that belong to a feed. | ||||
FeedJsonAnonTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest @group legacy | ||||
FeedJsonBasicAuthTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest @group legacy | ||||
FeedJsonCookieTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest @group legacy | ||||
FeedLanguageTest | class | Drupal\Tests\aggregator\Functional | core/ |
Tests aggregator feeds in multiple languages. | ||||
FeedParserTest | class | Drupal\Tests\aggregator\Functional | core/ |
Tests the built-in feed parser with valid feed samples. | ||||
FeedProcessorPluginTest | class | Drupal\Tests\aggregator\Functional | core/ |
Tests the processor plugins functionality and discoverability. | ||||
FeedResourceTestBase | abstract class | Drupal\Tests\aggregator\Functional\Rest | core/ |
7 | 1 | |||
FeedStorage | class | Drupal\aggregator | core/ |
Defines the storage handler class for feed entities. | ||||
FeedStorageInterface | interface | Drupal\aggregator | core/ |
Defines an interface for aggregator feed entity storage classes. | 1 | 5 | ||
FeedStorageSchema | class | Drupal\aggregator | core/ |
Defines the feed schema handler. | ||||
FeedTest | class | Drupal\Tests\aggregator\Functional\Jsonapi | core/ |
JSON:API integration test for the "Feed" content entity type. | ||||
FeedTitleConstraint | class | Drupal\aggregator\Plugin\Validation\Constraint | core/ |
Supports validating feed titles. | ||||
FeedUrlConstraint | class | Drupal\aggregator\Plugin\Validation\Constraint | core/ |
Supports validating feed URLs. | ||||
FeedValidationTest | class | Drupal\Tests\aggregator\Kernel | core/ |
Tests feed validation constraints. | ||||
FeedViewBuilder | class | Drupal\aggregator | core/ |
View builder handler for aggregator feeds. | ||||
FeedXmlAnonTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest @group legacy | ||||
FeedXmlBasicAuthTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest @group legacy | ||||
FeedXmlCookieTest | class | Drupal\Tests\aggregator\Functional\Rest | core/ |
@group rest @group legacy | ||||
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\aggregator\Plugin\views\argument | core/ |
Argument handler to accept an aggregator feed id. | ||||
Fid | class | Drupal\file\Plugin\views\argument | core/ |
Argument handler to accept multiple file ids. | ||||
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. | 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 |
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.