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 |
---|---|---|---|---|---|---|---|---|
ScopeLogs | class | Opentelemetry\Proto\Logs\V1 | vendor/ |
A collection of Logs produced by a Scope. | 1 | |||
ScopeManager | class | VariableAnalysis\Lib | vendor/ |
1 | ||||
ScopeMetrics | class | Opentelemetry\Proto\Metrics\V1 | vendor/ |
A collection of Metrics produced by an Scope. | 1 | |||
ScopeSpans | class | Opentelemetry\Proto\Trace\V1 | vendor/ |
A collection of Spans produced by an InstrumentationScope. | 1 | |||
ScopeType | class | VariableAnalysis\Lib | vendor/ |
3 | ||||
Score | class | Drupal\search\Plugin\views\sort | core/ |
Sort handler for sorting by search score. | ||||
Score | class | Drupal\search\Plugin\views\field | core/ |
Field handler for search score. | ||||
ScriptAliasCommand | class | Composer\Command | vendor/ |
@author Jordi Boggiano <j.boggiano@seld.be> | ||||
ScriptEvents | class | Composer\Script | vendor/ |
The Script Events. | 14 | |||
ScriptExecutionException | class | Composer\EventDispatcher | vendor/ |
Thrown when a script running an external process exits with a non-0 status code | 1 | |||
ScriptTimeout | final class | WebDriver\Exception | vendor/ |
WebDriver\Exception\ScriptTimeout class | ||||
ScrollTopCommand | class | Drupal\Core\Ajax | core/ |
Provides an AJAX command for scrolling to the top of an element. | 1 | |||
Sdk | final class | OpenTelemetry\SDK\Resource\Detectors | vendor/ |
1 | ||||
Sdk | class | OpenTelemetry\SDK | vendor/ |
5 | ||||
SdkAutoloader | class | OpenTelemetry\SDK | vendor/ |
@psalm-suppress RedundantCast | ||||
SdkBuilder | class | OpenTelemetry\SDK | vendor/ |
|||||
SdkProvided | final class | OpenTelemetry\SDK\Resource\Detectors | vendor/ |
|||||
Search | class | Drupal\search\Attribute | core/ |
Defines a Search type attribute for plugin discovery. | 4 | |||
Search | class | Drupal\Core\Render\Element | core/ |
Provides an HTML5 input element with type of "search". | ||||
Search | class | Drupal\search\Plugin\views\argument | core/ |
Argument handler for search keywords. | ||||
Search | class | Drupal\search\Plugin\views\filter | core/ |
Filter handler for search keywords. | ||||
SearchableHelpInterface | interface | Drupal\help | core/ |
Provides an interface for a HelpSection plugin that also supports search. | 1 | 2 | ||
SearchBlock | class | Drupal\search\Plugin\Block | core/ |
Provides a 'Search form' block. | ||||
SearchBlockForm | class | Drupal\search\Form | core/ |
Builds the search form for the search block. | 1 | |||
SearchCommand | class | Composer\Command | vendor/ |
@author Robert Schönthal <seroscho@googlemail.com> | ||||
SearchConfigurationRankings | class | Drupal\search\Plugin\migrate\process | core/ |
Generate configuration rankings. | ||||
SearchController | class | Drupal\search\Controller | core/ |
Route controller for search. | ||||
SearchHooks | class | Drupal\search\Hook | core/ |
Hook implementations for search. | ||||
SearchIndex | class | Drupal\search | core/ |
Provides search index management functions. | 2 | |||
SearchIndexException | class | Drupal\search\Exception | core/ |
Exception thrown for search index errors. | 1 | |||
SearchIndexingInterface | interface | Drupal\search\Plugin | core/ |
Defines an optional interface for SearchPlugin objects using an index. | 2 | 3 | ||
SearchIndexInterface | interface | Drupal\search | core/ |
Provides search index management functions. | 1 | 2 | ||
SearchInterface | interface | Drupal\search\Plugin | core/ |
Defines a common interface for all SearchPlugin objects. | 2 | 1 | ||
SearchLocalTask | class | Drupal\search\Plugin\Derivative | core/ |
Provides local tasks for each search page. | 1 | |||
SearchPage | class | Drupal\search\Entity | core/ |
Defines a configured search page. | ||||
SearchPage | class | Drupal\search\Plugin\migrate\source\d6 | core/ |
Drupal 6 node search rankings for core modules source from database. | ||||
SearchPage | class | Drupal\search\Plugin\migrate\source\d7 | core/ |
Drupal 7 search active core modules and rankings source from database. | ||||
SearchPageAccessControlHandler | class | Drupal\search | core/ |
Defines the access control handler for the search page entity type. | 1 | |||
SearchPageAddForm | class | Drupal\search\Form | core/ |
Provides a form for adding a search page. | 1 | |||
SearchPageEditForm | class | Drupal\search\Form | core/ |
Provides a form for editing a search page. | 1 | |||
SearchPageForm | class | Drupal\search\Form | core/ |
Provides a search form for site wide search. | 1 | |||
SearchPageFormBase | abstract class | Drupal\search\Form | core/ |
Provides a base form for search pages. | 2 | |||
SearchPageInterface | interface | Drupal\search | core/ |
Provides an interface defining a search page entity. | 1 | 4 | ||
SearchPageListBuilder | class | Drupal\search | core/ |
Defines a class to build a listing of search page entities. | 1 | |||
SearchPageRepository | class | Drupal\search | core/ |
Provides a repository for Search Page config entities. | 2 | |||
SearchPageRepositoryInterface | interface | Drupal\search | core/ |
Provides the interface for a repository Search Page entities. | 1 | 6 | ||
SearchPageRoutes | class | Drupal\search\Routing | core/ |
Provides dynamic routes for search. | ||||
SearchPlugin | class | Drupal\search\Annotation | core/ |
Defines a SearchPlugin type annotation object. | ||||
SearchPluginBase | abstract class | Drupal\search\Plugin | core/ |
Defines a base class for plugins wishing to support search. | 3 | 2 | ||
SearchPluginCollection | class | Drupal\search\Plugin | core/ |
Provides a container for lazily loading search plugins. | 1 |