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 11.x for parent
  5. Other projects
Title Object type File name Summary
BookManager::addParentSelectFormElements function core/modules/book/src/BookManager.php Builds the parent selection form element for the node form or outline tab.
BookManager::getBookParents function core/modules/book/src/ProxyClass/BookManager.php
BookManager::getBookParents function core/modules/book/src/BookManager.php
BookManager::getParentDepthLimit function core/modules/book/src/ProxyClass/BookManager.php Finds the depth limit for items in the parent select.
BookManager::getParentDepthLimit function core/modules/book/src/BookManager.php Finds the depth limit for items in the parent select.
BookManager::setParents function core/modules/book/src/BookManager.php Sets the p1 through p9 properties for a book link being saved.
BookManager::updateOriginalParent function core/modules/book/src/BookManager.php Updates the has_children flag of the parent of the original node.
BookManager::updateParent function core/modules/book/src/BookManager.php Sets the has_children flag of the parent of the node.
BookManagerInterface::getBookParents function core/modules/book/src/BookManagerInterface.php
BookManagerInterface::getParentDepthLimit function core/modules/book/src/BookManagerInterface.php Finds the depth limit for items in the parent select.
BookManagerTest::providerTestGetBookParents function core/modules/book/tests/src/Unit/BookManagerTest.php Provides test data for testGetBookParents.
BookManagerTest::testGetBookParents function core/modules/book/tests/src/Unit/BookManagerTest.php Tests the getBookParents() method.
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 @covers ::getParent[[api-linebreak]]
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.
ForumForm::forumParentSelect function core/modules/forum/src/Form/ForumForm.php Returns a select box for available parent terms.
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 @covers ::getParents[[api-linebreak]]
LinearHistoryTest::testGetParentsException function core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php @covers ::getParents[[api-linebreak]]
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 Returns the plugin ID of the menu link's parent, or an empty string.
MenuLinkContent::getParentId function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Gets the plugin ID of the parent menu link.
MenuLinkContentForm::$menuParentSelector property core/modules/menu_link_content/src/Form/MenuLinkContentForm.php The parent form selector service.
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 Loads all parent link IDs of a given menu link.
MenuLinkManagerInterface::getParentIds function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads all parent link IDs of a given menu link.

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