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 |
---|---|---|---|---|---|---|---|---|
BookContentModerationTest | class | Drupal\Tests\book\Functional | core/ |
Tests Book and Content Moderation integration. | ||||
BookController | class | Drupal\book\Controller | core/ |
Controller routines for book routes. | ||||
BookExport | class | Drupal\book | core/ |
Provides methods for exporting book to different formats. | 1 | 2 | ||
BookExport | class | Drupal\book | core/ |
Provides methods for exporting book to different formats. | 1 | 2 | ||
BookExport | class | Drupal\book | core/ |
Provides methods for exporting book to different formats. | 1 | 2 | ||
BookExport | class | Drupal\book | core/ |
Provides methods for exporting book to different formats. | 1 | 2 | ||
BookExport | class | Drupal\book | core/ |
Provides methods for exporting book to different formats. | 1 | 2 | ||
BookExport | class | Drupal\book | core/ |
Provides methods for exporting book to different formats. | 1 | 2 | ||
BookInstallTest | class | Drupal\Tests\book\Kernel | core/ |
Test installation of Book module. | ||||
BookJavascriptTest | class | Drupal\Tests\book\FunctionalJavascript | core/ |
Tests Book javascript functionality. | ||||
BookLocalTasksTest | class | Drupal\Tests\book\Unit\Menu | core/ |
Tests existence of book local tasks. | ||||
BookManager | class | Drupal\book | core/ |
Defines a book manager. | 4 | 2 | ||
BookManager | class | Drupal\book | core/ |
Defines a book manager. | 4 | 2 | ||
BookManager | class | Drupal\book | core/ |
Defines a book manager. | 4 | 2 | ||
BookManager | class | Drupal\book | core/ |
Defines a book manager. | 4 | 2 | ||
BookManager | class | Drupal\book | core/ |
Defines a book manager. | 4 | 2 | ||
BookManager | class | Drupal\book | core/ |
Defines a book manager. | 4 | 2 | ||
BookManagerDeprecationTest | class | Drupal\Tests\book\Kernel | core/ |
@coversDefaultClass \Drupal\book\BookManager[[api-linebreak]] @group legacy | ||||
BookManagerInterface | interface | Drupal\book | core/ |
Provides an interface defining a book manager. | 1 | 7 | ||
BookManagerInterface | interface | Drupal\book | core/ |
Provides an interface defining a book manager. | 1 | 7 | ||
BookManagerInterface | interface | Drupal\book | core/ |
Provides an interface defining a book manager. | 1 | 7 | ||
BookManagerInterface | interface | Drupal\book | core/ |
Provides an interface defining a book manager. | 1 | 7 | ||
BookManagerInterface | interface | Drupal\book | core/ |
Provides an interface defining a book manager. | 1 | 7 | ||
BookManagerInterface | interface | Drupal\book | core/ |
Provides an interface defining a book manager. | 1 | 7 | ||
BookManagerTest | class | Drupal\Tests\book\Unit | core/ |
@coversDefaultClass \Drupal\book\BookManager[[api-linebreak]] @group book | ||||
BookMultilingualTest | class | Drupal\Tests\book\Kernel | core/ |
Tests multilingual books. | ||||
BookNavigationBlock | class | Drupal\book\Plugin\Block | core/ |
Provides a 'Book navigation' block. | ||||
BookNavigationCacheContext | class | Drupal\book\Cache | core/ |
Defines the book navigation cache context service. | 1 | 2 | ||
BookNavigationCacheContext | class | Drupal\book\Cache | core/ |
Defines the book navigation cache context service. | 1 | 2 | ||
BookNavigationCacheContext | class | Drupal\book\Cache | core/ |
Defines the book navigation cache context service. | 1 | 2 | ||
BookNavigationCacheContext | class | Drupal\book\Cache | core/ |
Defines the book navigation cache context service. | 1 | 2 | ||
BookNavigationCacheContext | class | Drupal\book\Cache | core/ |
Defines the book navigation cache context service. | 1 | 2 | ||
BookNavigationCacheContext | class | Drupal\book\Cache | core/ |
Defines the book navigation cache context service. | 1 | 2 | ||
BookNodeIsRemovableAccessCheck | class | Drupal\book\Access | core/ |
Determines whether the requested node can be removed from its book. | 2 | |||
BookNodeIsRemovableAccessCheck | class | Drupal\book\Access | core/ |
Determines whether the requested node can be removed from its book. | 2 | |||
BookNodeIsRemovableAccessCheck | class | Drupal\book\Access | core/ |
Determines whether the requested node can be removed from its book. | 2 | |||
BookOutline | class | Drupal\book | core/ |
Provides handling to render the book outline. | 2 | |||
BookOutline | class | Drupal\book | core/ |
Provides handling to render the book outline. | 2 | |||
BookOutline | class | Drupal\book | core/ |
Provides handling to render the book outline. | 2 | |||
BookOutlineConstraint | class | Drupal\book\Plugin\Validation\Constraint | core/ |
Validation constraint for changing the book outline in pending revisions. | ||||
BookOutlineConstraintValidator | class | Drupal\book\Plugin\Validation\Constraint | core/ |
Constraint validator for changing the book outline in pending revisions. | ||||
BookOutlineForm | class | Drupal\book\Form | core/ |
Displays the book outline form. | ||||
BookOutlineStorage | class | Drupal\book | core/ |
Defines a storage class for books outline. | 2 | |||
BookOutlineStorage | class | Drupal\book | core/ |
Defines a storage class for books outline. | 2 | |||
BookOutlineStorage | class | Drupal\book | core/ |
Defines a storage class for books outline. | 2 | |||
BookOutlineStorageInterface | interface | Drupal\book | core/ |
Defines a common interface for book outline storage classes. | 1 | |||
BookOutlineStorageInterface | interface | Drupal\book | core/ |
Defines a common interface for book outline storage classes. | 1 | |||
BookOutlineStorageInterface | interface | Drupal\book | core/ |
Defines a common interface for book outline storage classes. | 1 | |||
BookPendingRevisionTest | class | Drupal\Tests\book\Kernel | core/ |
Tests that the Book module handles pending revisions correctly. | ||||
BookRelationshipTest | class | Drupal\Tests\book\Functional\Views | core/ |
Tests entity reference relationship data. |
Pagination
- Previous page
- Page 31
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.