Classes, traits, and interfaces - 10.3.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 1518
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
FormValidatorTestMockInterface | interface | Drupal\Tests\Core\Form | core/ |
Interface used in the mocking process of this test. | ||||
FormValuesTest | class | Drupal\FunctionalJavascriptTests\Ajax | core/ |
Tests that form values are properly delivered to AJAX callbacks. | ||||
ForumBlockBase | abstract class | Drupal\forum\Plugin\Block | core/ |
Provides a base class for Forum blocks. | 2 | |||
ForumBlockTest | class | Drupal\Tests\forum\Functional | core/ |
Tests the forum blocks. | ||||
ForumBreadcrumbBuilderBase | abstract class | Drupal\forum\Breadcrumb | core/ |
Provides a forum breadcrumb base class. | 2 | |||
ForumBreadcrumbBuilderBaseTest | class | Drupal\Tests\forum\Unit\Breadcrumb | core/ |
@coversDefaultClass \Drupal\forum\Breadcrumb\ForumBreadcrumbBuilderBase[[api-linebreak]] @group forum @group legacy | ||||
ForumController | class | Drupal\forum\Controller | core/ |
Controller routines for forum routes. | ||||
ForumForm | class | Drupal\forum\Form | core/ |
Base form for forum term edit forms. | 1 | |||
ForumIndexStorage | class | Drupal\forum | core/ |
Handles CRUD operations to {forum_index} table. | 2 | |||
ForumIndexStorageInterface | interface | Drupal\forum | core/ |
Handles CRUD operations to {forum_index} table. | 1 | |||
ForumIndexTest | final class | Drupal\Tests\forum\Kernel | core/ |
Defines a class for testing the forum_index table. | ||||
ForumIndexTest | class | Drupal\Tests\forum\Functional | core/ |
Tests the forum index listing. | ||||
ForumIndexUpdateTest | final class | Drupal\Tests\forum\Functional | core/ |
Tests addition of the forum_index primary key. | ||||
ForumIntegrationTest | class | Drupal\Tests\forum\Functional\Views | core/ |
Tests the forum integration into views. | ||||
ForumLeafConstraint | class | Drupal\forum\Plugin\Validation\Constraint | core/ |
Checks that the node is assigned only a "leaf" term in the forum taxonomy. | ||||
ForumLeafConstraintValidator | class | Drupal\forum\Plugin\Validation\Constraint | core/ |
Validates the ForumLeaf constraint. | ||||
ForumListingBreadcrumbBuilder | class | Drupal\forum\Breadcrumb | core/ |
Provides a breadcrumb builder base class for forum listing pages. | 1 | 2 | ||
ForumListingBreadcrumbBuilderTest | class | Drupal\Tests\forum\Unit\Breadcrumb | core/ |
@coversDefaultClass \Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder[[api-linebreak]] @group forum @group legacy | ||||
ForumManager | class | Drupal\forum | core/ |
Provides forum manager service. | 2 | |||
ForumManagerInterface | interface | Drupal\forum | core/ |
Provides forum manager interface. | 1 | 2 | ||
ForumManagerTest | class | Drupal\Tests\forum\Unit | core/ |
@coversDefaultClass \Drupal\forum\ForumManager[[api-linebreak]] @group forum @group legacy | ||||
ForumNodeAccessTest | class | Drupal\Tests\forum\Functional | core/ |
Tests forum block view for private node access. | ||||
ForumNodeBreadcrumbBuilder | class | Drupal\forum\Breadcrumb | core/ |
Breadcrumb builder for forum nodes. | 1 | 2 | ||
ForumNodeBreadcrumbBuilderTest | class | Drupal\Tests\forum\Unit\Breadcrumb | core/ |
@coversDefaultClass \Drupal\forum\Breadcrumb\ForumNodeBreadcrumbBuilder[[api-linebreak]] @group forum @group legacy | ||||
ForumSettingsForm | class | Drupal\forum | core/ |
Configure forum settings for this site. | 1 | |||
ForumTermAccessTest | class | Drupal\Tests\forum\Functional | core/ |
Tests forum taxonomy terms for access. | ||||
ForumTest | class | Drupal\Tests\forum\Functional | core/ |
Tests for forum.module. | ||||
ForumUninstallTest | class | Drupal\Tests\forum\Functional | core/ |
Tests forum module uninstallation. | ||||
ForumUninstallValidator | class | Drupal\forum\ProxyClass | core/ |
Provides a proxy class for \Drupal\forum\ForumUninstallValidator. | ||||
ForumUninstallValidator | class | Drupal\forum | core/ |
Prevents forum module from being uninstalled under certain conditions. | 2 | |||
ForumUninstallValidatorTest | class | Drupal\Tests\forum\Unit | core/ |
@coversDefaultClass \Drupal\forum\ForumUninstallValidator[[api-linebreak]] @group forum @group legacy | ||||
ForumValidationTest | class | Drupal\Tests\forum\Kernel | core/ |
Tests forum validation constraints. | ||||
ForumVocabulary | in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\forum\Plugin\migrate\process\ForumVocabulary instead. |
class | Drupal\taxonomy\Plugin\migrate\process | core/ |
Checks if the vocabulary being migrated is the one used for forums. | |||
ForumVocabulary | class | Drupal\forum\Plugin\migrate\process | core/ |
Checks if the vocabulary being migrated is the one used for forums. | ||||
FrameworkTest | class | Drupal\Tests\system\FunctionalJavascript | core/ |
Tests the off-canvas dialog functionality. | ||||
FrameworkTest | class | Drupal\Tests\system\Functional\Ajax | core/ |
Performs tests on AJAX framework functions. | ||||
FrontMatter | class | Drupal\Component\FrontMatter | core/ |
Component for parsing front matter from a source. | 5 | |||
FrontMatterParseException | class | Drupal\Component\FrontMatter\Exception | core/ |
Defines a class for front matter parsing exceptions. | 3 | |||
FrontMatterTest | class | Drupal\Tests\Component\FrontMatter | core/ |
Tests front matter parsing helper methods. | 1 | |||
FrontMatterTest | class | Drupal\KernelTests\Core\Theme | core/ |
Tests Twig front matter support. | ||||
FrontPageTest | class | Drupal\Tests\system\Functional\System | core/ |
Tests front page functionality and administration. | ||||
FrontPageTest | class | Drupal\Tests\node\Functional\Views | core/ |
Tests the default frontpage provided by views. | ||||
Fruit | class | Drupal\Tests\Core\Entity | core/ |
2 | ||||
FruitInterface | interface | Drupal\plugin_test\Plugin\plugin_test\fruit | core/ |
Provides an interface for test plugins. | 4 | |||
FTP | abstract class | Drupal\Core\FileTransfer | core/ |
Defines the base class for FTP implementations. | 1 | |||
FTPExtension | class | Drupal\Core\FileTransfer | core/ |
Defines a file transfer class using the PHP FTP extension. | ||||
Full | class | Drupal\views\Plugin\views\pager | core/ |
The plugin to handle full pager. | ||||
FullDate | class | Drupal\views\Plugin\views\argument | core/ |
Argument handler for a full date (CCYYMMDD) | ||||
FullDate | class | Drupal\datetime\Plugin\views\argument | core/ |
Argument handler for a full date (CCYYMMDD). | ||||
FullyQualified | final class | Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Attribute | core/ |
#[\Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ExtraAttributes\ExampleAttribute] |
Pagination
- Previous page
- Page 83
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.