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
LayoutBuilderUiCacheContext class Drupal\layout_builder\Cache core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php Determines if an entity is being viewed in the Layout Builder UI. 2
LayoutBuilderWidget class Drupal\layout_builder\Plugin\Field\FieldWidget core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php A widget to display the layout form.
LayoutDefault class Drupal\Core\Layout core/lib/Drupal/Core/Layout/LayoutDefault.php Provides a default class for Layout plugins. 3 5
LayoutDefinition class Drupal\Core\Layout core/lib/Drupal/Core/Layout/LayoutDefinition.php Provides an implementation of a layout definition and its metadata. 2
LayoutDiscoveryHooks class Drupal\layout_discovery\Hook core/modules/layout_discovery/src/Hook/LayoutDiscoveryHooks.php Hook implementations for layout_discovery.
LayoutEntityDisplayInterface interface Drupal\layout_builder\Entity core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php Provides an interface for entity displays that have layout. 1 5
LayoutEntityDisplayNormalizer class Drupal\layout_builder\Normalizer core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php Normalizes/denormalizes LayoutEntityDisplay objects into an array structure. 1
LayoutEntityHelperTrait trait Drupal\layout_builder core/modules/layout_builder/src/LayoutEntityHelperTrait.php Methods to help with entities using the layout builder. 2
LayoutForm final class Drupal\navigation\Form core/modules/navigation/src/Form/LayoutForm.php Defines a form for configuring navigation blocks. 1
LayoutInterface interface Drupal\Core\Layout core/lib/Drupal/Core/Layout/LayoutInterface.php Provides an interface for static Layout plugins. 1 3 1
LayoutPluginManager class Drupal\Core\Layout core/lib/Drupal/Core/Layout/LayoutPluginManager.php Provides a plugin manager for layouts. 2
LayoutPluginManagerInterface interface Drupal\Core\Layout core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php Provides the interface for a plugin manager of layouts. 1 4
LayoutPreviewAccessAllowed class Drupal\layout_builder\Access core/modules/layout_builder/src/Access/LayoutPreviewAccessAllowed.php Accessible class to allow access for inline blocks in the Layout Builder. 1
LayoutRebuildConfirmFormBase abstract class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php Provides a base class for confirmation forms that rebuild the Layout Builder. 2
LayoutRebuildTrait trait Drupal\layout_builder\Controller core/modules/layout_builder/src/Controller/LayoutRebuildTrait.php Provides AJAX responses to rebuild the Layout Builder. 4
LayoutSectionItem class Drupal\layout_builder\Plugin\Field\FieldType core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php Plugin implementation of the 'layout_section' field type.
LayoutSectionItemList class Drupal\layout_builder\Field core/modules/layout_builder/src/Field/LayoutSectionItemList.php Defines an item list class for layout section fields. 1
LayoutSectionStorageParamConverter class Drupal\layout_builder\Routing core/modules/layout_builder/src/Routing/LayoutSectionStorageParamConverter.php Loads the section storage from the routing defaults. 2
LayoutTempstoreRepository class Drupal\layout_builder core/modules/layout_builder/src/LayoutTempstoreRepository.php Provides a mechanism for loading layouts from tempstore. 2
LayoutTempstoreRepositoryInterface interface Drupal\layout_builder core/modules/layout_builder/src/LayoutTempstoreRepositoryInterface.php Provides an interface for loading layouts from tempstore. 1 14
LayoutTempstoreRouteEnhancer class Drupal\layout_builder\Routing core/modules/layout_builder/src/Routing/LayoutTempstoreRouteEnhancer.php Loads the section storage from the layout tempstore. 2
Lazy class Symfony\Component\DependencyInjection\Attribute vendor/symfony/dependency-injection/Attribute/Lazy.php 2
LazyBuilders final class Drupal\announcements_feed core/modules/announcements_feed/src/LazyBuilders.php Defines a class for lazy building render arrays. 2
LazyClosure class Symfony\Component\DependencyInjection\Argument vendor/symfony/dependency-injection/Argument/LazyClosure.php @author Nicolas Grekas <p@tchwork.com> 2
LazyCommand final class Symfony\Component\Console\Command vendor/symfony/console/Command/LazyCommand.php @author Nicolas Grekas <p@tchwork.com> 2
LazyContextRepository class Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Provides a context repository which uses context provider services.
LazyDeprecatedScopeResolverProvider final class PHPStan\DependencyInjection vendor/phpstan/phpstan-deprecation-rules/src/DependencyInjection/LazyDeprecatedScopeResolverProvider.php
LazyDouble class Prophecy\Doubler vendor/phpspec/prophecy/src/Prophecy/Doubler/LazyDouble.php Lazy double. Gives simple interface to describe double before creating it. 2
LazyGhostTrait trait Symfony\Component\VarExporter vendor/symfony/var-exporter/LazyGhostTrait.php
LazyIterator class Symfony\Component\Finder\Iterator vendor/symfony/finder/Iterator/LazyIterator.php @author Jérémy Derussé <jeremy@derusse.com> 1
LazyLoadingFragmentHandler class Symfony\Component\HttpKernel\DependencyInjection vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php Lazily loads fragment renderers from the dependency injection container.
LazyLoadingMetadataFactory class Symfony\Component\Validator\Mapping\Factory vendor/symfony/validator/Mapping/Factory/LazyLoadingMetadataFactory.php Creates new {@link ClassMetadataInterface} instances. 2
LazyObjectInterface interface Symfony\Component\VarExporter vendor/symfony/var-exporter/LazyObjectInterface.php 2
LazyObjectRegistry class Symfony\Component\VarExporter\Internal vendor/symfony/var-exporter/Internal/LazyObjectRegistry.php Stores the state of lazy objects and caches related reflection information. 3
LazyObjectState class Symfony\Component\VarExporter\Internal vendor/symfony/var-exporter/Internal/LazyObjectState.php Keeps the state of lazy objects. 3
LazyOpenStream final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/LazyOpenStream.php Lazily reads or writes to a file that is opened only after an IO operation take place on the stream. 1
LazyPluginCollection abstract class Drupal\Component\Plugin core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Defines an object which stores multiple plugin instances to lazy load them. 2 2
LazyProperty class Symfony\Component\Validator\Validator vendor/symfony/validator/Validator/LazyProperty.php A wrapper for a callable initializing a property from a getter. 1
LazyProxyTrait trait Symfony\Component\VarExporter vendor/symfony/var-exporter/LazyProxyTrait.php
LazyRouteCollection class Drupal\Core\Routing core/lib/Drupal/Core/Routing/LazyRouteCollection.php
LazyServiceDumper final class Symfony\Component\DependencyInjection\LazyProxy\PhpDumper vendor/symfony/dependency-injection/LazyProxy/PhpDumper/LazyServiceDumper.php @author Nicolas Grekas <p@tchwork.com> 2
LazyServiceInstantiator final class Symfony\Component\DependencyInjection\LazyProxy\Instantiator vendor/symfony/dependency-injection/LazyProxy/Instantiator/LazyServiceInstantiator.php @author Nicolas Grekas <p@tchwork.com> 1
LazyString class Symfony\Component\String vendor/symfony/string/LazyString.php A string whose value is computed lazily by a callback.
LazyTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php
LazyUuidFromString final class Ramsey\Uuid\Lazy vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php Lazy version of a UUID: its format has not been determined yet, so it is mostly only usable for string/bytes conversion. This object optimizes instantiation, serialization and string conversion time, at the cost of increased overhead for more advanced… 3
LCheckPlainSniff class DrupalPractice\Sniffs\FunctionCalls vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/LCheckPlainSniff.php The first argument of the l() function should not be check_plain()'ed.
LeagueHtmlToMarkdownConverter class Symfony\Component\Mime\HtmlToTextConverter vendor/symfony/mime/HtmlToTextConverter/LeagueHtmlToMarkdownConverter.php @author Fabien Potencier <fabien@symfony.com>
LeaveProfileNode class Twig\Profiler\Node vendor/twig/twig/src/Profiler/Node/LeaveProfileNode.php Represents a profile leave node. 1
LegacyElement class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/LegacyElement.php WebDriver\LegacyElement class
LegacyExecute class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/LegacyExecute.php WebDriver\LegacyExecute class

Pagination

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