Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

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
SearchPluginManager class Drupal\search core/modules/search/src/SearchPluginManager.php SearchExecute plugin manager. 2
SearchQuery class Drupal\search core/modules/search/src/SearchQuery.php Search query extender and helper functions. 1 2
SearchRow class Drupal\search\Plugin\views\row core/modules/search/src/Plugin/views/row/SearchRow.php Row handler plugin for displaying search results.
SearchTextProcessor class Drupal\search core/modules/search/src/SearchTextProcessor.php Processes search text for indexing. 2
SearchTextProcessorInterface interface Drupal\search core/modules/search/src/SearchTextProcessorInterface.php Processes search text for indexing. 1 1
Section class Drupal\layout_builder core/modules/layout_builder/src/Section.php Provides a domain object for layout sections. 10
SectionComponent class Drupal\layout_builder core/modules/layout_builder/src/SectionComponent.php Provides a value object for a section component. 5
SectionComponentBuildRenderArrayEvent class Drupal\layout_builder\Event core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Event fired when a section component's render array is being built. 2
SectionData class Drupal\layout_builder\Plugin\DataType core/modules/layout_builder/src/Plugin/DataType/SectionData.php Provides a data type wrapping \Drupal\layout_builder\Section.
SectionListInterface interface Drupal\layout_builder core/modules/layout_builder/src/SectionListInterface.php Defines the interface for an object that stores layout sections. 3 2
SectionListTrait trait Drupal\layout_builder core/modules/layout_builder/src/SectionListTrait.php Provides a trait for maintaining a list of sections. 3
SectionStorage class Drupal\layout_builder\Annotation core/modules/layout_builder/src/Annotation/SectionStorage.php Defines a Section Storage type annotation object.
SectionStorage class Drupal\layout_builder\Attribute core/modules/layout_builder/src/Attribute/SectionStorage.php Defines a SectionStorage attribute. 4
SectionStorageBase abstract class Drupal\layout_builder\Plugin\SectionStorage core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php Provides a base class for Section Storage types. 2
SectionStorageDefinition class Drupal\layout_builder\SectionStorage core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php Provides section storage type plugin definition. 3
SectionStorageInterface interface Drupal\layout_builder core/modules/layout_builder/src/SectionStorageInterface.php Defines an interface for Section Storage type plugins. 4 32
SectionStorageLocalTaskProviderInterface interface Drupal\layout_builder\Plugin\SectionStorage core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php Allows section storage plugins to provide local tasks. 2 2
SectionStorageManager class Drupal\layout_builder\SectionStorage core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Provides the Section Storage type plugin manager. 2
SectionStorageManagerInterface interface Drupal\layout_builder\SectionStorage core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Provides the interface for a plugin manager of section storage types. 1 8
SecuredRedirectResponse abstract class Drupal\Component\HttpFoundation core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Provides a common base class for safe redirects. 1 3
SecurityAdvisoriesFetcher final class Drupal\system\SecurityAdvisories core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Defines a service to get security advisories. 1 2
SecurityAdvisory class Composer\Advisory vendor/composer/composer/src/Composer/Advisory/SecurityAdvisory.php 1 3
SecurityAdvisory final class Drupal\system\SecurityAdvisories core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php Provides a security advisory value object.
SecurityError class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityError.php Exception thrown when a security error occurs at runtime. 5 1
SecurityFileUploadEventSubscriber class Drupal\system\EventSubscriber core/modules/system/src/EventSubscriber/SecurityFileUploadEventSubscriber.php The final subscriber to 'file.upload.sanitize.name'. 2
SecurityNotAllowedFilterError final class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityNotAllowedFilterError.php Exception thrown when a not allowed filter is used in a template.
SecurityNotAllowedFunctionError final class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityNotAllowedFunctionError.php Exception thrown when a not allowed function is used in a template.
SecurityNotAllowedMethodError final class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php Exception thrown when a not allowed class method is used in a template. 2
SecurityNotAllowedPropertyError final class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityNotAllowedPropertyError.php Exception thrown when a not allowed class property is used in a template. 2
SecurityNotAllowedTagError final class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityNotAllowedTagError.php Exception thrown when a not allowed tag is used in a template.
SecurityPolicy final class Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityPolicy.php Represents a security policy which need to be enforced when sandbox mode is enabled.
SecurityPolicyInterface interface Twig\Sandbox vendor/twig/twig/src/Sandbox/SecurityPolicyInterface.php Interface that all security policy classes must implements. 2 2
See final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php Reflection class for an {see tag in a Docblock. 1
SeekableFileContent abstract class org\bovigo\vfs\content vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php Default implementation for file contents based on simple strings. 2
Select class Drupal\mysql\Driver\Database\mysql core/modules/mysql/src/Driver/Database/mysql/Select.php MySQL implementation of \Drupal\Core\Database\Query\Select.
Select class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Select.php Provides a form element for a drop-down menu or scrolling selection box.
Select class Drupal\sqlite\Driver\Database\sqlite core/modules/sqlite/src/Driver/Database/sqlite/Select.php SQLite implementation of \Drupal\Core\Database\Query\Select.
Select class Drupal\pgsql\Driver\Database\pgsql core/modules/pgsql/src/Driver/Database/pgsql/Select.php PostgreSQL implementation of \Drupal\Core\Database\Query\Select.
Select class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/Select.php Query builder for SELECT statements. 3 4
SelectExtender class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/SelectExtender.php The base extender class for Select queries. 3 2
SelectInterface interface Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/SelectInterface.php Interface definition for a Select Query object. 2 25
SelectionCriteriaInterface interface OpenTelemetry\SDK\Metrics\View vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php 6 6
SelectionInterface interface Drupal\Core\Entity\EntityReferenceSelection core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Interface definition for Entity Reference Selection plugins. 1 2 2
SelectionPluginBase abstract class Drupal\Core\Entity\EntityReferenceSelection core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php Provides a base class for configurable selection handlers. 3 3
SelectionPluginManager class Drupal\Core\Entity\EntityReferenceSelection core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php Plugin type manager for Entity Reference Selection plugins.
SelectionPluginManagerInterface interface Drupal\Core\Entity\EntityReferenceSelection core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php Defines an interface for the entity reference selection plugin manager. 1 3
SelectionWithAutocreateInterface interface Drupal\Core\Entity\EntityReferenceSelection core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php Interface for Selection plugins that support newly created entities. 1 3
SelectLanguageForm class Drupal\Core\Installer\Form core/lib/Drupal/Core/Installer/Form/SelectLanguageForm.php Provides the language selection form.
Selector class Peast\Selector\Node vendor/mck89/peast/lib/Peast/Selector/Node/Selector.php Selector class 1
Selector final class SebastianBergmann\CodeCoverage\Driver vendor/phpunit/php-code-coverage/src/Driver/Selector.php 1

Pagination

  • First page
  • Previous page
  • …
  • Page 165
  • Page 166
  • Page 167
  • Page 168
  • Page 169
  • Page 170
  • Page 171
  • Page 172
  • Page 173
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal