Search for object

  1. Search 7.x for object
  2. Search 9.5.x for object
  3. Search 8.9.x for object
  4. Search 11.x for object
  5. Other projects
Title Object type File name Summary
AjaxRendererTest::testRenderWithFragmentObject function core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php Tests the content method.
ArgumentsResolver::$objects property core/lib/Drupal/Component/Utility/ArgumentsResolver.php An associative array of parameter names to object candidate values.
ArgumentsResolverTest::testGetArgumentObject function core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Tests getArgument() with an object.
array-to-object.component.yml file core/modules/sdc/tests/modules/sdc_test/components/array-to-object/array-to-object.component.yml core/modules/sdc/tests/modules/sdc_test/components/array-to-object/array-to-object.component.yml
array-to-object.component.yml file core/modules/system/tests/modules/sdc_test/components/array-to-object/array-to-object.component.yml core/modules/system/tests/modules/sdc_test/components/array-to-object/array-to-object.component.yml
array-to-object.twig file core/modules/system/tests/modules/sdc_test/components/array-to-object/array-to-object.twig <div>
{{ testProp }}
</div>
array-to-object.twig file core/modules/sdc/tests/modules/sdc_test/components/array-to-object/array-to-object.twig {{ testProp }}
AttachmentsTestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
AttachmentsTestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
BubbleableMetadata::createFromObject function core/lib/Drupal/Core/Render/BubbleableMetadata.php Creates a bubbleable metadata object from a depended object.
ByteSizeMarkupTest::testTranslatableMarkupObject function core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php @covers ::create
CacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheableMetadata::createFromObject function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object from a depended object.
CacheableMetadataTest::providerTestCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromObject().
CacheableMetadataTest::testCreateFromObject function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromObject
@dataProvider providerTestCreateFromObject
CacheableTestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php
CacheableTestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php
CommentStatisticsUnitTest::fetchObjectCallback function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Return value callback for fetchObject() function on mocked object.
ComponentRenderTest::checkArrayObjectTypeCast function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure fuzzy coercing of arrays and objects works properly.
ComponentRenderTest::checkArrayObjectTypeCast function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure fuzzy coercing of arrays and objects works properly.
ConfigFactory::createConfigObject function core/lib/Drupal/Core/Config/ConfigFactory.php Creates a configuration object.
ConfigFactoryOverrideInterface::createConfigObject function core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php Creates a configuration object for use during install and synchronization.
ConfigOverride::createConfigObject function core/lib/Drupal/Core/Installer/ConfigOverride.php
ConfigOverrider::createConfigObject function core/modules/settings_tray/tests/modules/settings_tray_override_test/src/ConfigOverrider.php
ConfigOverrider::createConfigObject function core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php
ConfigOverrider::createConfigObject function core/modules/config/tests/config_override_test/src/ConfigOverrider.php
ConfigOverriderLowPriority::createConfigObject function core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php
ContextDefinition::getConstraintObjects function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Extracts an array of constraints for a context definition object.
CurrentRouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php
CurrentRouteMatchTest::testGetCurrentRouteObject function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::__construct
@covers ::getRouteObject
@covers ::getCurrentRouteMatch
@covers ::getRouteMatch
DateTimePlus::$dateTimeObject property core/lib/Drupal/Component/Datetime/DateTimePlus.php The DateTime object.
DateTimePlusTest::testDateTimezoneWithDateTimeObject function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests that DrupalDateTime can detect the correct timezone to use.
db_installer_object function core/includes/install.inc Returns a database installer object.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultPluginManagerTest::testDefaultPluginManagerWithObjects function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests the plugin manager and object plugin definitions.
DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcherWithAnnotationObjects function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with objects instead of arrays.
Drupal\Component\Serialization\ObjectAwareSerializationInterface service core/core.services.yml
EarlyRenderingTestController::cacheableDomainObject function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::cacheableDomainObjectEarly function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::domainObject function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::domainObjectEarly function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::domainObjectWithAttachments function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EarlyRenderingTestController::domainObjectWithAttachmentsEarly function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EntityAccessChecker::getAccessCheckedResourceObject function core/modules/jsonapi/src/Access/EntityAccessChecker.php Get the object to normalize and the access based on the provided entity.
EntityAccessCheckTest::createRouteMatchForObject function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Wrap any object with a route match, and return that.
EntityAccessDeniedHttpExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.