Search for object

  1. Search 7.x for object
  2. Search 8.9.x for object
  3. Search 10.3.x for object
  4. Search 11.x for object
  5. Other projects
Title Object type File name Summary
FormTestServiceObject class core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Provides a test form object.
FormTestServiceObject.php file core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php
FormTestServiceObject::buildForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Form constructor.
FormTestServiceObject::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Gets the configuration names that will be editable.
FormTestServiceObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Returns a unique string identifying the form.
FormTestServiceObject::submitForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Form submission handler.
FormTestServiceObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Form validation handler.
HtmlEntityFormController::getFormObject function core/lib/Drupal/Core/Entity/HtmlEntityFormController.php Instead of a class name or service ID, $form_arg will be a string
representing the entity and operation being performed.
Consider the following route:
HtmlFormController::getFormObject function core/lib/Drupal/Core/Controller/HtmlFormController.php Returns the object used to build the form.
HTMLRestrictions::fromObjectWithHtmlRestrictions function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions matching the given object.
HttpExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php Builds the normalized JSON:API error objects for the response.
Inspector::assertAllObjects function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are objects.
InspectorTest::testAssertAllObjects function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are objects.
InstallerObjectTest class core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php Tests the db_installer_object() function that is used during installation.
InstallerObjectTest.php file core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php
InstallerObjectTest::providerDbInstallerObject function core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php Data provider for testDbUrlToConnectionConversion().
InstallerObjectTest::setUp function core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php
InstallerObjectTest::testDbInstallerObject function core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php @dataProvider providerDbInstallerObject
InvokableUntrustedObject class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
InvokableUntrustedObject::__invoke function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
KernelTestBaseTest::testAssertIdenticalObject function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assertIdenticalObject.
LabelOnlyResourceObject class core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Value object decorating a ResourceObject; only its label is available.
LabelOnlyResourceObject.php file core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php
LabelOnlyResourceObject::$entity property core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php The entity represented by this resource object.
LabelOnlyResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Creates a new ResourceObject from an entity.
LabelOnlyResourceObject::extractFieldsFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Extracts the entity's fields.
LabelOnlyResourceObject::getEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Gets the decorated entity.
LabelOnlyResourceObject::setEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Sets the underlying entity.
LanguageConfigFactoryOverride::createConfigObject function core/modules/language/src/Config/LanguageConfigFactoryOverride.php Creates a configuration object for use during install and synchronization.
LayoutBuilderDecorationTestHtmlEntityFormController::getFormObject function core/modules/layout_builder/tests/modules/layout_builder_decoration_test/src/Controller/LayoutBuilderDecorationTestHtmlEntityFormController.php Returns the object used to build the form.
LayoutBuilderHtmlEntityFormController::getFormObject function core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php Returns the object used to build the form.
LOCALE_JS_OBJECT constant core/modules/locale/locale.module Regular expression pattern used to match simple JS object literal.
LOCALE_JS_OBJECT_CONTEXT constant core/modules/locale/locale.module Regular expression to match an object containing a key 'context'.
MenuLinkBase::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns a URL object containing either the external path or route.
MenuLinkContent::getUrlObject function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Gets the url object pointing to the URL of the menu link content entity.
MenuLinkContentInterface::getUrlObject function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the url object pointing to the URL of the menu link content entity.
MenuLinkInterface::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns a URL object containing either the external path or route.
NullRouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the route object.
ObjectDefinition class core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
ObjectDefinition class core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php
ObjectDefinition::__construct function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php ObjectDefinition constructor.
ObjectDefinition::__construct function core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php ObjectDefinition constructor.
Objected-oriented programming conventions group core/core.api.php PSR-4, namespaces, class naming, and other conventions.
ObjectSerialization class core/lib/Drupal/Core/Test/ObjectSerialization.php Object to test that security issues around serialization.
ObjectSerialization.php file core/lib/Drupal/Core/Test/ObjectSerialization.php
ObjectSerialization::__construct function core/lib/Drupal/Core/Test/ObjectSerialization.php ObjectSerialization constructor.
ObjectSerialization::__destruct function core/lib/Drupal/Core/Test/ObjectSerialization.php ObjectSerialization deconstructor.
ObjectWithPluginCollectionInterface interface core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php Provides an interface for an object using a plugin collection.
ObjectWithPluginCollectionInterface.php file core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php
ObjectWithPluginCollectionInterface::getPluginCollections function core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php Gets the plugin collections used by this object.

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