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 |
---|---|---|---|---|---|---|---|---|
FilterFormatFormBase | abstract class | Drupal\filter | core/ |
Provides a base form for a filter format. | 2 | |||
FilterFormatInterface | interface | Drupal\filter | core/ |
Provides an interface defining a filter format entity. | 1 | 31 | ||
FilterFormatJsonAnonTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
@group rest | ||||
FilterFormatJsonBasicAuthTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
@group rest | ||||
FilterFormatJsonCookieTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
@group rest | ||||
FilterFormatListBuilder | class | Drupal\filter | core/ |
Defines a class to build a listing of filter format entities. | ||||
FilterFormatPermission | class | Drupal\filter\Plugin\migrate\process\d6 | core/ |
Migrate filter format serial to string id in permission name. | 1 | |||
FilterFormatPermissionTest | class | Drupal\Tests\filter\Kernel\Migrate\d6 | core/ |
Tests conversion of format serial to string id in permission name. | ||||
FilterFormatResourceTestBase | abstract class | Drupal\Tests\filter\Functional\Rest | core/ |
6 | ||||
FilterFormatTest | class | Drupal\Tests\filter\Kernel\Plugin\migrate\source\d6 | core/ |
Tests D6 filter format source plugin. | ||||
FilterFormatTest | class | Drupal\Tests\filter\Kernel\Plugin\migrate\source\d7 | core/ |
Tests D7 filter format source plugin. | ||||
FilterFormatTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "FilterFormat" config entity type. | ||||
FilterFormatUpdateFilterSortingTest | class | Drupal\Tests\filter\Functional | core/ |
Tests the upgrade path for filter formats. | ||||
FilterFormatValidationTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests validation of filter_format entities. | ||||
FilterFormatXmlAnonTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
@group rest | ||||
FilterFormatXmlBasicAuthTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
@group rest | ||||
FilterFormatXmlCookieTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
@group rest | ||||
FilterFormTest | class | Drupal\Tests\filter\Functional | core/ |
Tests form elements with associated text formats. | ||||
FilterHooksTest | class | Drupal\Tests\filter\Functional | core/ |
Tests hooks for text formats insert/update/disable. | ||||
FilterHtml | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to limit allowed HTML tags. | 2 | |||
FilterHtmlCorrector | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to correct faulty and chopped off HTML. | ||||
FilterHtmlEscape | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to display any HTML as plain text. | ||||
FilterHtmlImageSecure | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to restrict images to site. | ||||
FilterHtmlImageSecureTest | class | Drupal\Tests\filter\Functional | core/ |
Tests restriction of IMG tags in HTML input. | ||||
FilterHtmlTest | class | Drupal\Tests\filter\Unit | core/ |
@coversDefaultClass \Drupal\filter\Plugin\Filter\FilterHtml[[api-linebreak]] @group filter | ||||
FilterID | class | Drupal\filter\Plugin\migrate\process | core/ |
Determines the filter ID. | 1 | |||
FilterIdTest | class | Drupal\Tests\filter\Kernel\Plugin\migrate\process | core/ |
Unit tests of the filter_id plugin. | ||||
FilterImageLazyLoad | final class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to lazy load tracked images. | 1 | |||
FilterImageLazyLoadTest | final class | Drupal\Tests\filter\Unit | core/ |
@coversDefaultClass \Drupal\filter\Plugin\Filter\FilterImageLazyLoad[[api-linebreak]] @group editor | ||||
FilterInOperatorTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\filter\InOperator handler. | ||||
FilterInterface | interface | Drupal\filter\Plugin | core/ |
Defines the interface for text processing filter plugins. | 1 | 34 | 1 | |
FilterInterface | interface | Drupal\Core\Routing | core/ |
A route filter service to filter down the collection of route instances. | 5 | 3 | ||
FilterIsIncompatible | class | Drupal\ckeditor5_incompatible_filter_test\Plugin\Filter | core/ |
Provides a filter incompatible with CKEditor 5. | ||||
FilterKernelTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests Filter module filters individually. | ||||
FilterLanguageTest | class | Drupal\Tests\language\Kernel\Views | core/ |
Tests the filter language handler. | ||||
FilterNodeAccessTest | class | Drupal\Tests\node\Functional\Views | core/ |
Tests the node_access filter handler. | ||||
FilterNoFormatTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests the behavior of check_markup() when it is called without text format. | ||||
FilterNull | class | Drupal\filter\Plugin\Filter | core/ |
Provides a fallback placeholder filter to use for missing filters. | 1 | |||
FilterNumericTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the numeric filter handler. | ||||
FilterNumericWebTest | class | Drupal\Tests\views_ui\Functional | core/ |
Tests the numeric filter UI. | ||||
FilterOperatorsInterface | interface | Drupal\views\Plugin\views\filter | core/ |
Provides an interface for all views filters that implement operators. | 4 | |||
FilterOptionsTest | class | Drupal\Tests\views_ui\FunctionalJavascript | core/ |
Tests the JavaScript filtering of options in add handler form. | ||||
FilterPermissions | class | Drupal\filter | core/ |
Provides dynamic permissions of the filter module. | ||||
FilterPermissionUiTest | class | Drupal\Tests\user\Functional\Views | core/ |
Tests the permission field handler ui. | ||||
FilterPlaceholderTextTest | class | Drupal\Tests\views\Functional\Handler | core/ |
Tests the placeholder text on the appropriate filter handlers. | ||||
FilterPluginBase | abstract class | Drupal\views\Plugin\views\filter | core/ |
Base class for Views filters handler plugins. | 19 | 11 | ||
FilterPluginBaseStub | class | Drupal\Tests\views\Unit\Plugin\filter | core/ |
|||||
FilterPluginBaseTest | class | Drupal\Tests\views\Unit\Plugin\filter | core/ |
@coversDefaultClass \Drupal\views\Plugin\views\filter\FilterPluginBase[[api-linebreak]] @group views | ||||
FilterPluginCollection | class | Drupal\filter | core/ |
A collection of filters. | 7 | |||
FilterPluginManager | class | Drupal\filter | core/ |
Manages text processing filters. | 2 | 2 |
Pagination
- Previous page
- Page 78
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.