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 10.3.x for object
  5. Other projects
Title Object type File name Summary
FormTestObject class core/modules/system/tests/modules/form_test/src/FormTestObject.php Provides a test form object.
FormTestObject.php file core/modules/system/tests/modules/form_test/src/FormTestObject.php
FormTestObject::buildForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form constructor.
FormTestObject::getEditableConfigNames function core/modules/system/tests/modules/form_test/src/FormTestObject.php Gets the configuration names that will be editable.
FormTestObject::getFormId function core/modules/system/tests/modules/form_test/src/FormTestObject.php Returns a unique string identifying the form.
FormTestObject::submitForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form submission handler.
FormTestObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form validation handler.
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.
InvokableUntrustedObject class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
InvokableUntrustedObject::__invoke function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
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
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.
LinksetController::toLinkTargetObjects function core/modules/system/src/Controller/LinksetController.php Encode a menu tree as link items and capture any cacheability metadata.
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.
ObjectAwareSerializationInterface interface core/lib/Drupal/Component/Serialization/ObjectAwareSerializationInterface.php Ensures that a serializer is usable for serializing PHP objects.
ObjectAwareSerializationInterface.php file core/lib/Drupal/Component/Serialization/ObjectAwareSerializationInterface.php
ObjectDefinition class core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php
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/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php ObjectDefinition constructor.
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.

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