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 |
---|---|---|---|---|---|---|---|---|
FilterCaption | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to caption elements. | ||||
FilterCaptionTwigDebugTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests the caption filter with Twig debugging on. | ||||
FilterCombineTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the combine filter handler. | ||||
FilterController | class | Drupal\filter\Controller | core/ |
Controller routines for filter routes. | ||||
FilterCriteriaTest | class | Drupal\Tests\views_ui\FunctionalJavascript | core/ |
Tests the View UI filter criteria group dialog. | ||||
FilterCrudTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests creation, loading, updating, deleting of text formats and filters. | ||||
FilterDateTest | class | Drupal\Tests\views\Functional\Handler | core/ |
Tests the core Drupal\views\Plugin\views\filter\Date handler. | ||||
FilterDateTest | class | Drupal\Tests\datetime\Kernel\Views | core/ |
Tests date-only fields. | ||||
FilterDateTest | class | Drupal\Tests\datetime\Functional\Views | core/ |
Tests Views filters for datetime fields. | ||||
FilterDateTest | class | Drupal\Tests\datetime_range\Kernel\Views | core/ |
Tests date-only fields. | ||||
FilterDateTimeTest | class | Drupal\Tests\datetime\Kernel\Views | core/ |
Tests the Drupal\datetime\Plugin\views\filter\Date handler. | ||||
FilterDefaultConfigTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests text format default configuration. | ||||
FilterDefaultFormatTest | class | Drupal\Tests\filter\Functional | core/ |
Tests the default text formats for different users. | ||||
FilterDisableForm | class | Drupal\filter\Form | core/ |
Provides the filter format disable form. | ||||
FilteredMarkup | final class | Drupal\filter\Render | core/ |
Defines an object that passes markup through the Filter system. | 4 | |||
FilteredPluginManagerInterface | interface | Drupal\Core\Plugin | core/ |
Provides an interface for plugin managers that allow filtering definitions. | 4 | 4 | ||
FilteredPluginManagerTrait | trait | Drupal\Core\Plugin | core/ |
Provides a trait for plugin managers that allow filtering plugin definitions. | 4 | |||
FilteredPluginManagerTraitTest | class | Drupal\Tests\Core\Plugin | core/ |
@coversDefaultClass \Drupal\Core\Plugin\FilteredPluginManagerTrait @group Plugin | ||||
FilterEntityBundleTest | class | Drupal\Tests\views\Kernel\Entity | core/ |
Tests the generic entity bundle filter. | ||||
FilterEqualityTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\filter\Equality handler. | ||||
FilterExceptionTest | class | Drupal\views_test_data\Plugin\views\filter | core/ |
Breaks the query with adding an invalid where expression. | ||||
FilterFormat | class | Drupal\filter\Entity | core/ |
Represents a text format. | 106 | |||
FilterFormat | class | Drupal\filter\Plugin\DataType | core/ |
The filter format data type. | 1 | |||
FilterFormat | class | Drupal\filter\Plugin\migrate\source\d6 | core/ |
Drupal 6 filter source from database. | ||||
FilterFormat | class | Drupal\filter\Plugin\migrate\source\d7 | core/ |
Drupal 7 filter source from database. | ||||
FilterFormatAccessControlHandler | class | Drupal\filter | core/ |
Defines the access control handler for the filter format entity type. | ||||
FilterFormatAccessTest | class | Drupal\Tests\filter\Functional | core/ |
Tests access to text formats. | ||||
FilterFormatAddForm | class | Drupal\filter | core/ |
Provides a form for adding a filter format. | ||||
FilterFormatEditForm | class | Drupal\filter | core/ |
Provides a form for adding a filter format. | ||||
FilterFormatFormBase | abstract class | Drupal\filter | core/ |
Provides a base form for a filter format. | 2 | |||
FilterFormatHalJsonAnonTest | class | Drupal\Tests\hal\Functional\filter | core/ |
@group hal @group legacy | ||||
FilterFormatHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\filter | core/ |
@group hal @group legacy | ||||
FilterFormatHalJsonCookieTest | class | Drupal\Tests\hal\Functional\filter | core/ |
@group hal @group legacy | ||||
FilterFormatInterface | interface | Drupal\filter | core/ |
Provides an interface defining a filter format entity. | 1 | 30 | ||
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/ |
9 | 3 | |||
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. | ||||
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 |
Pagination
- Previous page
- Page 74
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.