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 |
---|---|---|---|---|---|---|---|---|
BooleanOperator | class | Drupal\views\Plugin\views\filter | core/ |
Simple filter to handle matching of boolean values. | 3 | 2 | ||
BooleanOperator | class | Drupal\views\Plugin\views\filter | core/ |
Simple filter to handle matching of boolean values. | 3 | 2 | ||
BooleanOperator | class | Drupal\views\Plugin\views\filter | core/ |
Simple filter to handle matching of boolean values. | 3 | 2 | ||
BooleanOperatorString | class | Drupal\views\Plugin\views\filter | core/ |
Simple filter to handle matching of boolean values. | ||||
BootstrapConfigStorageFactory | class | Drupal\Core\Config | core/ |
Defines a factory for retrieving the config storage used pre-kernel. | 2 | |||
BootstrapConfigStorageFactory | class | Drupal\Core\Config | core/ |
Defines a factory for retrieving the config storage used pre-kernel. | 2 | |||
Box | class | Drupal\block_content\Plugin\migrate\source\d6 | core/ |
Drupal 6 block source from database. | ||||
BoxTest | class | Drupal\Tests\block_content\Kernel\Plugin\migrate\source\d6 | core/ |
Tests D6 block boxes source plugin. | ||||
BoxTranslation | class | Drupal\block_content\Plugin\migrate\source\d6 | core/ |
Drupal 6 i18n custom block translations source from database. | ||||
BoxTranslationTest | class | Drupal\Tests\block_content\Kernel\Plugin\migrate\source\d6 | core/ |
Tests i18n custom block translations source plugin. | ||||
Breadcrumb | class | Drupal\Core\Breadcrumb | core/ |
Used to return generated breadcrumbs with associated cacheability metadata. | 12 | |||
Breadcrumb | class | Drupal\Core\Breadcrumb | core/ |
Used to return generated breadcrumbs with associated cacheability metadata. | 12 | |||
Breadcrumb404Test | class | Drupal\FunctionalTests\Breadcrumb | core/ |
Tests the breadcrumb of 404 pages. | ||||
BreadcrumbBuilderInterface | interface | Drupal\Core\Breadcrumb | core/ |
Defines an interface for classes that build breadcrumbs. | 7 | 7 | ||
BreadcrumbBuilderInterface | interface | Drupal\Core\Breadcrumb | core/ |
Defines an interface for classes that build breadcrumbs. | 7 | 7 | ||
BreadcrumbBuilderInterface | interface | Drupal\Core\Breadcrumb | core/ |
Defines an interface for classes that build breadcrumbs. | 7 | 7 | ||
BreadcrumbBuilderInterface | interface | Drupal\Core\Breadcrumb | core/ |
Defines an interface for classes that build breadcrumbs. | 7 | 7 | ||
BreadcrumbBuilderInterface | interface | Drupal\Core\Breadcrumb | core/ |
Defines an interface for classes that build breadcrumbs. | 7 | 7 | ||
BreadcrumbBuilderInterface | interface | Drupal\Core\Breadcrumb | core/ |
Defines an interface for classes that build breadcrumbs. | 7 | 7 | ||
BreadcrumbFrontCacheContextsTest | class | Drupal\Tests\system\Functional\Menu | core/ |
Tests breadcrumbs functionality. | ||||
BreadcrumbManager | class | Drupal\Core\Breadcrumb | core/ |
Provides a breadcrumb manager. | 1 | 2 | ||
BreadcrumbManager | class | Drupal\Core\Breadcrumb | core/ |
Provides a breadcrumb manager. | 1 | 2 | ||
BreadcrumbManager | class | Drupal\Core\Breadcrumb | core/ |
Provides a breadcrumb manager. | 1 | 2 | ||
BreadcrumbManager | class | Drupal\Core\Breadcrumb | core/ |
Provides a breadcrumb manager. | 1 | 2 | ||
BreadcrumbManager | class | Drupal\Core\Breadcrumb | core/ |
Provides a breadcrumb manager. | 1 | 2 | ||
BreadcrumbManager | class | Drupal\Core\Breadcrumb | core/ |
Provides a breadcrumb manager. | 1 | 2 | ||
BreadcrumbManagerTest | class | Drupal\Tests\Core\Breadcrumb | core/ |
@coversDefaultClass \Drupal\Core\Breadcrumb\BreadcrumbManager[[api-linebreak]] @group Breadcrumb | ||||
BreadcrumbTest | class | Drupal\Tests\Core\Breadcrumb | core/ |
@coversDefaultClass \Drupal\Core\Breadcrumb\Breadcrumb[[api-linebreak]] @group Breadcrumb | ||||
BreadcrumbTest | class | Drupal\Tests\system\Functional\Menu | core/ |
Tests breadcrumbs functionality. | ||||
BreakLockForm | class | Drupal\views_ui\Form | core/ |
Builds the form to break the lock of an edited view. | ||||
BreakLockLink | class | Drupal\Core\TempStore\Element | core/ |
Provides a link to break a tempstore lock. | ||||
Breakpoint | class | Drupal\breakpoint | core/ |
Default object used for breakpoint plugins. | 1 | |||
Breakpoint | class | Drupal\breakpoint | core/ |
Default object used for breakpoint plugins. | 1 | |||
BreakpointDiscoveryTest | class | Drupal\Tests\breakpoint\Kernel | core/ |
Tests discovery of breakpoints provided by themes and modules. | ||||
BreakpointInterface | interface | Drupal\breakpoint | core/ |
Interface for Breakpoint plugins. | 1 | 1 | ||
BreakpointInterface | interface | Drupal\breakpoint | core/ |
Interface for Breakpoint plugins. | 1 | 1 | ||
BreakpointInterface | interface | Drupal\breakpoint | core/ |
Interface for Breakpoint plugins. | 1 | 1 | ||
BreakpointInterface | interface | Drupal\breakpoint | core/ |
Interface for Breakpoint plugins. | 1 | 1 | ||
BreakpointInterface | interface | Drupal\breakpoint | core/ |
Interface for Breakpoint plugins. | 1 | 1 | ||
BreakpointInterface | interface | Drupal\breakpoint | core/ |
Interface for Breakpoint plugins. | 1 | 1 | ||
BreakpointManager | class | Drupal\breakpoint | core/ |
Defines a breakpoint plugin manager to deal with breakpoints. | 2 | |||
BreakpointManager | class | Drupal\breakpoint | core/ |
Defines a breakpoint plugin manager to deal with breakpoints. | 2 | |||
BreakpointManager | class | Drupal\breakpoint | core/ |
Defines a breakpoint plugin manager to deal with breakpoints. | 2 | |||
BreakpointManagerInterface | interface | Drupal\breakpoint | core/ |
Defines an interface for breakpoint managers. | 1 | 1 | ||
BreakpointManagerInterface | interface | Drupal\breakpoint | core/ |
Defines an interface for breakpoint managers. | 1 | 1 | ||
BreakpointManagerInterface | interface | Drupal\breakpoint | core/ |
Defines an interface for breakpoint managers. | 1 | 1 | ||
BreakpointManagerInterface | interface | Drupal\breakpoint | core/ |
Defines an interface for breakpoint managers. | 1 | 1 | ||
BreakpointManagerInterface | interface | Drupal\breakpoint | core/ |
Defines an interface for breakpoint managers. | 1 | 1 | ||
BreakpointManagerInterface | interface | Drupal\breakpoint | core/ |
Defines an interface for breakpoint managers. | 1 | 1 | ||
BreakpointTest | class | Drupal\Tests\breakpoint\Unit | core/ |
@coversDefaultClass \Drupal\breakpoint\Breakpoint[[api-linebreak]] @group Breakpoint |
Pagination
- Previous page
- Page 33
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.