Search for parent

  1. Search 7.x for parent
  2. Search 9.5.x for parent
  3. Search 8.9.x for parent
  4. Search 10.3.x for parent
  5. Other projects
Title Object type File name Summary
cache_context.url.path.parent service core/core.services.yml Drupal\Core\Cache\Context\PathParentCacheContext
CheckpointListInterface::getParents function core/lib/Drupal/Core/Config/Checkpoint/CheckpointListInterface.php Gets a checkpoint's parents.
Comment::getParentComment function core/modules/comment/src/Entity/Comment.php Returns the parent comment entity if this is a reply to a comment.
Comment::hasParentComment function core/modules/comment/src/Entity/Comment.php Determines if this comment is a reply to another comment.
CommentInterface::getParentComment function core/modules/comment/src/CommentInterface.php Returns the parent comment entity if this is a reply to a comment.
CommentInterface::hasParentComment function core/modules/comment/src/CommentInterface.php Determines if this comment is a reply to another comment.
CommentThreadingTest::assertNoParentLink function core/modules/comment/tests/src/Functional/CommentThreadingTest.php Asserts that the specified comment does not have a link to a parent.
CommentThreadingTest::assertParentLink function core/modules/comment/tests/src/Functional/CommentThreadingTest.php Asserts that the link to the specified parent comment is present.
ConfigActionTest::testParentAttributes function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigImporterTest::testSecondaryUpdateDeletedParentFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary updates for deleted files work as expected.
ConfigSchemaTest::testSchemaMappingWithParents function core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php Tests metadata retrieval with several levels of %parent indirection.
ConfigTarget::$elementParents property core/lib/Drupal/Core/Form/ConfigTarget.php The parents of the form element which maps to this config property.
config_schema_test.some_schema.with_parents.yml file core/modules/config/tests/config_schema_test/config/install/config_schema_test.some_schema.with_parents.yml core/modules/config/tests/config_schema_test/config/install/config_schema_test.some_schema.with_parents.yml
CurrentRouteMatch::getParentRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the parent route match of the current.
EntityAdapterUnitTest::testGetParent function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get parent.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID from a deeply nested property path.
EntityFormDisplayAccessControlHandlerTest::$parentMember property core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php The mock account with EntityFormDisplay access via parent access check.
EntityReferenceItem::formProcessMergeParent function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Render API callback that moves entity reference elements up a level.
ExampleParentAttribute class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ExtraAttributes/ExampleParentAttribute.php #[\Attribute]
ExampleParentAttribute.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ExtraAttributes/ExampleParentAttribute.php
ExtensionDiscovery::ORIGIN_PARENT_SITE constant core/lib/Drupal/Core/Extension/ExtensionDiscovery.php Origin directory weight: Parent site directory of a test site environment.
GDToolkit::getTransparentColor function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Gets the color set for transparency in GIF images.
InlineBlockTest::testInlineBlockParentRevert function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Test editing inline blocks when the parent has been reverted.
LinearHistory::getParents function core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php Gets a checkpoint's parents.
LinearHistoryTest::testGetParents function core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php Tests get parents.
LinearHistoryTest::testGetParentsException function core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php Tests get parents exception.
menu.parent_form_selector service core/core.services.yml Drupal\Core\Menu\MenuParentFormSelector
MenuController::$menuParentSelector property core/modules/menu_ui/src/Controller/MenuController.php The menu parent form service.
MenuController::getParentOptions function core/modules/menu_ui/src/Controller/MenuController.php Gets all the available menus and menu items as a JavaScript array.
MenuLinkBase::getParent function core/lib/Drupal/Core/Menu/MenuLinkBase.php
MenuLinkContent::getParentId function core/modules/menu_link_content/src/Entity/MenuLinkContent.php
MenuLinkContentInterface::getParentId function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the plugin ID of the parent menu link.
MenuLinkDefaultForm::$menuParentSelector property core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php The parent form selector service.
MenuLinkInterface::getParent function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the plugin ID of the menu link's parent, or an empty string.
MenuLinkManager::getParentIds function core/lib/Drupal/Core/Menu/MenuLinkManager.php
MenuLinkManagerInterface::getParentIds function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads all parent link IDs of a given menu link.
MenuLinkParent class core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php Determines the parent of a menu link.
MenuLinkParent.php file core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
MenuLinkParent::$lookupMigrations property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The migration IDs to use for looking up the parent link.
MenuLinkParent::$menuLinkManager property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The menu link plugin manager.
MenuLinkParent::$menuLinkStorage property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The menu link entity storage handler.
MenuLinkParent::$migrateLookup property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The migrate lookup service.
MenuLinkParent::$migration property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The currently running migration.
MenuLinkParent::create function core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
MenuLinkParent::transform function core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php Find the parent link GUID.
MenuLinkParent::__construct function core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php Constructs a MenuLinkParent object.
MenuLinkParentTest class core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests the menu link parent process plugin.
MenuLinkParentTest.php file core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php
MenuLinkParentTest::$menuLinkManager property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php The menu link plugin manager.
MenuLinkParentTest::$menuLinkStorage property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php The menu link entity storage handler.

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