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
LinkAccessConstraint class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraint.php Defines an access validation constraint for links.
LinkAccessConstraintValidator class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Validates the LinkAccess constraint.
LinkApprove class Drupal\comment\Plugin\views\field core/modules/comment/src/Plugin/views/field/LinkApprove.php Provides a comment approve link.
LinkBase abstract class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/LinkBase.php Field handler to present a link to an entity. 5 4
LinkCollection final class Drupal\jsonapi\JsonApiResource core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Contains a set of JSON:API Link objects. 6
LinkCollectionNormalizer class Drupal\jsonapi\Normalizer core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php Normalizes a LinkCollection object. 2
LinkExternalProtocolsConstraint class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraint.php Defines a protocol validation constraint for links to external URLs.
LinkExternalProtocolsConstraintValidator class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php Validates the LinkExternalProtocols constraint.
LinkField class Drupal\link\Plugin\migrate\field\d6 core/modules/link/src/Plugin/migrate/field/d6/LinkField.php 1 1
LinkField class Drupal\link\Plugin\migrate\field\d7 core/modules/link/src/Plugin/migrate/field/d7/LinkField.php MigrateField Plugin for Drupal 7 link fields.
LinkFormatter class Drupal\link\Plugin\Field\FieldFormatter core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Plugin implementation of the 'link' formatter. 1
LinkGenerator class Drupal\Core\Utility core/lib/Drupal/Core/Utility/LinkGenerator.php Provides a class which generates a link with route names and parameters.
LinkGeneratorInterface interface Drupal\Core\Utility core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php Defines an interface for generating links from route names and parameters. 1 3
LinkHooks class Drupal\link\Hook core/modules/link/src/Hook/LinkHooks.php Hook implementations for link.
LinkInterface interface OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/LinkInterface.php 1 1
LinkItem class Drupal\link\Plugin\Field\FieldType core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Plugin implementation of the 'link' field type. 1
LinkItemInterface interface Drupal\link core/modules/link/src/LinkItemInterface.php Defines an interface for the link field item. 1 6
LinkNotExistingInternalConstraint class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php Defines a protocol validation constraint for links to broken internal URLs.
LinkNotExistingInternalConstraintValidator class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php Validates the LinkNotExistingInternal constraint.
LinkOptions class Drupal\menu_link_content\Plugin\migrate\process core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php Converts links options.
LinkRelationType class Drupal\Core\Http core/lib/Drupal/Core/Http/LinkRelationType.php Defines a single link relationship type.
LinkRelationTypeInterface interface Drupal\Core\Http core/lib/Drupal/Core/Http/LinkRelationTypeInterface.php Defines a single link relation type. 1
LinkRelationTypeManager class Drupal\Core\Http core/lib/Drupal/Core/Http/LinkRelationTypeManager.php Provides a default plugin manager for link relation types.
LinkReply class Drupal\comment\Plugin\views\field core/modules/comment/src/Plugin/views/field/LinkReply.php Field handler to present a link to reply to a comment.
Links abstract class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/Links.php An abstract handler which provides a collection of links. 1
LinkSeparateFormatter class Drupal\link\Plugin\Field\FieldFormatter core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php Plugin implementation of the 'link_separate' formatter.
LinksetController final class Drupal\system\Controller core/modules/system/src/Controller/LinksetController.php Linkset controller.
LinkStub class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/LinkStub.php Represents a file or a URL.
LinkTypeConstraint class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php Validation constraint for links receiving data allowed by its settings.
LinkTypeConstraintValidator class Drupal\link\Plugin\Validation\Constraint core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php Constraint validator for links receiving data allowed by its settings.
LinkUri class Drupal\menu_link_content\Plugin\migrate\process core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Generates an internal URI from the source value.
LinkWidget class Drupal\link\Plugin\Field\FieldWidget core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Plugin implementation of the 'link' widget.
LintCommand class Symfony\Component\Yaml\Command vendor/symfony/yaml/Command/LintCommand.php Validates YAML files syntax and outputs encountered errors.
Linter class Seld\PharUtils vendor/seld/phar-utils/src/Linter.php 1
ListCacheBinsPass class Drupal\Core\Cache core/lib/Drupal/Core/Cache/ListCacheBinsPass.php Adds cache_bins parameter to the container. 1
ListCommand class Symfony\Component\Console\Command vendor/symfony/console/Command/ListCommand.php ListCommand displays the list of all available commands for the application. 1
ListDataDefinition class Drupal\Core\TypedData core/lib/Drupal/Core/TypedData/ListDataDefinition.php A typed data definition class for defining lists. 3 5
ListDataDefinitionInterface interface Drupal\Core\TypedData core/lib/Drupal/Core/TypedData/ListDataDefinitionInterface.php Interface for data definitions of lists. 2 1
ListElement class Drupal\config_translation\FormElement core/modules/config_translation/src/FormElement/ListElement.php Defines the list element for the configuration translation interface.
ListenerProviderInterface interface Psr\EventDispatcher vendor/psr/event-dispatcher/src/ListenerProviderInterface.php Mapper from an event to the listeners that are applicable to that event.
ListField class Drupal\options\Plugin\migrate\field\d7 core/modules/options/src/Plugin/migrate/field/d7/ListField.php
ListField class Drupal\options\Plugin\views\filter core/modules/options/src/Plugin/views/filter/ListField.php Filter handler which uses list-fields as options.
ListFloatItem class Drupal\options\Plugin\Field\FieldType core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Plugin implementation of the 'list_float' field type.
ListGroupsCommand final class PHPUnit\TextUI\Command vendor/phpunit/phpunit/src/TextUI/Command/Commands/ListGroupsCommand.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ListingEmpty class Drupal\node\Plugin\views\area core/modules/node/src/Plugin/views/area/ListingEmpty.php Defines an area plugin to display a node/add link.
ListingEmpty class Drupal\block_content\Plugin\views\area core/modules/block_content/src/Plugin/views/area/ListingEmpty.php Defines an area plugin to display a block add link.
ListIntegerItem class Drupal\options\Plugin\Field\FieldType core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Plugin implementation of the 'list_integer' field type.
ListInterface interface Drupal\Core\TypedData core/lib/Drupal/Core/TypedData/ListInterface.php Interface for a list of typed data. 2 6
ListItemBase abstract class Drupal\options\Plugin\Field\FieldType core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Plugin base class inherited by the options field types. 3
ListNormalizer class Drupal\serialization\Normalizer core/modules/serialization/src/Normalizer/ListNormalizer.php Converts list objects to arrays. 1 2

Pagination

  • First page
  • Previous page
  • …
  • Page 105
  • Page 106
  • Page 107
  • Page 108
  • Page 109
  • Page 110
  • Page 111
  • Page 112
  • Page 113
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal