Classes, traits, and interfaces - main - 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 1529
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| 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. | 1 | |||
| 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/ |
Tests Drupal\Core\Plugin\FilteredPluginManagerTrait. | ||||
| FilterEnableForm | class | Drupal\filter\Form | core/ |
Provides the filter format enable form. | 1 | |||
| FilterEntityBundleTest | class | Drupal\Tests\views\Kernel\Entity | core/ |
Tests the generic entity bundle filter. | ||||
| FilterEntityReferenceTest | class | Drupal\Tests\views\Kernel\Handler | core/ |
Tests the core Drupal\views\Plugin\views\filter\EntityReference handler. | ||||
| FilterEntityReferenceTest | class | Drupal\Tests\views_ui\FunctionalJavascript | core/ |
Tests views creation wizard. | ||||
| FilterEntityReferenceTrait | trait | Drupal\Tests\views_ui\Traits | core/ |
Sets up the entity types and relationships for entity reference tests. | 3 | |||
| FilterEntityReferenceWebTest | class | Drupal\Tests\views_ui\Functional | core/ |
Tests the entity reference filter UI. | ||||
| 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\Plugin\migrate\source\d6 | core/ |
Drupal 6 filter source from database. | 1 | |||
| FilterFormat | class | Drupal\filter\Plugin\migrate\source\d7 | core/ |
Drupal 7 filter source from database. | 1 | |||
| FilterFormat | class | Drupal\filter\Entity | core/ |
Represents a text format. | 94 | |||
| FilterFormat | class | Drupal\filter\Plugin\DataType | core/ |
The filter format data type. | 1 | |||
| FilterFormatAccessControlHandler | class | Drupal\filter | core/ |
Defines the access control handler for the filter format entity type. | 1 | |||
| 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. | 1 | |||
| FilterFormatEditForm | class | Drupal\filter | core/ |
Provides a form for adding a filter format. | 1 | |||
| 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 | 27 | ||
| FilterFormatJsonAnonTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
Tests Filter Format Json Anon. | ||||
| FilterFormatJsonBasicAuthTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
Tests Filter Format Json Basic Auth. | ||||
| FilterFormatJsonCookieTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
Tests Filter Format Json Cookie. | ||||
| FilterFormatListBuilder | class | Drupal\filter | core/ |
Defines a class to build a listing of filter format entities. | 1 | |||
| FilterFormatPermission | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
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. | ||||
| FilterFormatRepository | class | Drupal\filter | core/ |
Provides a repository service for filter formats. | 1 | 2 | ||
| FilterFormatRepositoryInterface | interface | Drupal\filter | core/ |
Provides an interface for a repository for filter formats. | 1 | 40 | ||
| FilterFormatRepositoryTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests the Drupal\filter\FilterFormatRepositoryInterface service. | ||||
| FilterFormatResourceTestBase | abstract class | Drupal\Tests\filter\Functional\Rest | core/ |
Resource test base for the FilterFormat entity. | 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. | ||||
| FilterFormatValidationTest | class | Drupal\Tests\filter\Kernel | core/ |
Tests validation of filter_format entities. | ||||
| FilterFormatXmlAnonTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
Tests Filter Format Xml Anon. | ||||
| FilterFormatXmlBasicAuthTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
Tests Filter Format Xml Basic Auth. | ||||
| FilterFormatXmlCookieTest | class | Drupal\Tests\filter\Functional\Rest | core/ |
Tests Filter Format Xml Cookie. |
Pagination
- Previous page
- Page 84
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.