Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
Primary tabs
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 |
---|---|---|---|---|---|---|---|---|
FilterArray | class | Drupal\Component\Utility | core/ |
Provides methods to filter arrays. | 9 | |||
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. | 12 | 12 | ||
FilterCaption | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to caption elements. | ||||
FilterController | class | Drupal\filter\Controller | core/ |
Controller routines for filter routes. | ||||
FilterDirectory | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
FilterDirectoryCollection | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
FilterDirectoryCollectionIterator | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
FilterDisableForm | class | Drupal\filter\Form | core/ |
Provides the filter format disable form. | 1 | |||
Filtered | final class | PHPUnit\Event\TestSuite | vendor/ |
@psalm-immutable | 1 | |||
FilteredAttributeProcessor | final class | OpenTelemetry\SDK\Metrics\AttributeProcessor | vendor/ |
@internal | 1 | |||
FilteredAttributesBuilder | final class | OpenTelemetry\SDK\Common\Attribute | vendor/ |
@internal | ||||
FilteredAttributesFactory | final class | OpenTelemetry\SDK\Common\Attribute | vendor/ |
@internal | 1 | |||
FilteredMarkup | final class | Drupal\filter\Render | core/ |
Defines an object that passes markup through the Filter system. | 3 | |||
FilteredPluginManagerInterface | interface | Drupal\Core\Plugin | core/ |
Provides an interface for plugin managers that allow filtering definitions. | 3 | 3 | ||
FilteredPluginManagerTrait | trait | Drupal\Core\Plugin | core/ |
Provides a trait for plugin managers that allow filtering plugin definitions. | 3 | |||
FilteredReservoir | final class | OpenTelemetry\SDK\Metrics\Exemplar | vendor/ |
The exemplar spec is not yet stable, and can change at any time. | 1 | |||
FilteredSubscriber | interface | PHPUnit\Event\TestSuite | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
FilterEnableForm | class | Drupal\filter\Form | core/ |
Provides the filter format enable form. | 1 | |||
FilterExpression | class | Twig\Node\Expression | vendor/ |
2 | 9 | |||
FilterFormat | class | Drupal\filter\Plugin\DataType | core/ |
The filter format data type. | ||||
FilterFormat | class | Drupal\filter\Entity | core/ |
Represents a text format. | 4 | |||
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. | 1 | |||
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 | 16 | ||
FilterFormatListBuilder | class | Drupal\filter | core/ |
Defines a class to build a listing of filter format entities. | 1 | |||
FilterFormatPermission | class | Drupal\filter\Plugin\migrate\process\d6 | core/ |
Migrate filter format serial to string id in permission name. | ||||
FilterHooks | class | Drupal\filter\Hook | core/ |
Hook implementations for filter. | ||||
FilterHtml | class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to limit allowed HTML tags. | 1 | |||
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. | ||||
FilterID | class | Drupal\filter\Plugin\migrate\process | core/ |
Determines the filter ID. | ||||
FilterImageLazyLoad | final class | Drupal\filter\Plugin\Filter | core/ |
Provides a filter to lazy load tracked images. | ||||
FilterInterface | interface | Drupal\Core\Routing | core/ |
A route filter service to filter down the collection of route instances. | 4 | 1 | ||
FilterInterface | interface | Drupal\filter\Plugin | core/ |
Defines the interface for text processing filter plugins. | 1 | 18 | 1 | |
FilterNotConfiguredException | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
FilterNull | class | Drupal\filter\Plugin\Filter | core/ |
Provides a fallback placeholder filter to use for missing filters. | 1 | |||
FilterOperatorsInterface | interface | Drupal\views\Plugin\views\filter | core/ |
Provides an interface for all views filters that implement operators. | 4 | |||
FilterPermissions | class | Drupal\filter | core/ |
Provides dynamic permissions of the filter module. | ||||
FilterPluginBase | abstract class | Drupal\views\Plugin\views\filter | core/ |
Base class for Views filters handler plugins. | 15 | 6 | ||
FilterPluginCollection | class | Drupal\filter | core/ |
A collection of filters. | 2 | |||
FilterPluginManager | class | Drupal\filter | core/ |
Manages text processing filters. | 2 | 2 | ||
FilterProcessResult | class | Drupal\filter | core/ |
Used to return values from a text filter plugin's processing method. | 13 | |||
FilterRepository | class | Composer\Repository | vendor/ |
Filters which packages are seen as canonical on this repo by loadPackages | 1 | |||
FilterSettings | class | Drupal\filter\Plugin\migrate\process | core/ |
Adds the default allowed attributes to filter_html's allowed_html setting. |