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 |
---|---|---|---|---|---|---|---|---|
FileWriteException | class | Drupal\Core\File\Exception | core/ |
Exception thrown when file cannot be written to disk. | 4 | |||
FileXmlAnonTest | class | Drupal\Tests\file\Functional\Rest | core/ |
@group rest | ||||
FileXmlBasicAuthTest | class | Drupal\Tests\file\Functional\Rest | core/ |
@group rest | ||||
FileXmlCookieTest | class | Drupal\Tests\file\Functional\Rest | core/ |
@group rest | ||||
Filter | class | Drupal\filter\Attribute | core/ |
Defines a filter attribute for plugin discovery. | 23 | |||
Filter | class | Drupal\filter\Annotation | core/ |
Defines a filter annotation object. | ||||
Filter | class | Drupal\jsonapi\Query | core/ |
Gathers information about the filter parameter. | 3 | |||
FilterAdminTest | class | Drupal\Tests\filter\Functional | core/ |
Thoroughly test the administrative interface of the filter module. | ||||
FilterAlign | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to align elements. | ||||
FilterAndArgumentUserUidTest | class | Drupal\Tests\comment\Kernel\Views | core/ |
Tests the user posted or commented filter and argument handlers. | ||||
FilterAPITest | class | Drupal\Tests\filter\Kernel | core/ |
Tests the behavior of the API of the Filter module. | ||||
FilterAutoP | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to convert line breaks to HTML. | 1 | |||
FilterBase | abstract class | Drupal\filter\Plugin | core/ |
Provides a base class for Filter plugins. | 23 | 23 | ||
FilterBaseTestableClass | class | Drupal\Tests\filter\Unit | core/ |
A class extending FilterBase for testing purposes. | ||||
FilterBooleanOperatorDefaultTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the queryOpBoolean() with default operator. | ||||
FilterBooleanOperatorDefaultTest | class | Drupal\views_test_data\Plugin\views\filter | core/ |
Filter to test queryOpBoolean() with default operator. | ||||
FilterBooleanOperatorGroupTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\filter\BooleanOperator handler. | ||||
FilterBooleanOperatorStringTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests core's BooleanOperatorString views filter handler. | ||||
FilterBooleanOperatorTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\filter\BooleanOperator handler. | ||||
FilterBooleanWebTest | class | Drupal\Tests\views_ui\Functional | core/ |
Tests the boolean filter UI. | ||||
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\Functional\Views | core/ |
Tests Views filters for datetime fields. | ||||
FilterDateTest | class | Drupal\Tests\datetime_range\Kernel\Views | core/ |
Tests date-only fields. | ||||
FilterDateTest | class | Drupal\Tests\datetime\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. | 5 | |||
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[[api-linebreak]] @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. | 93 | |||
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. | ||||
FilterFormatConsolidateFilterConfigUpdateTest | class | Drupal\Tests\filter\Functional | core/ |
Tests the upgrade path for filter formats. | ||||
FilterFormatEditForm | class | Drupal\filter | core/ |
Provides a form for adding a filter format. |
Pagination
- Previous page
- Page 77
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.