Search for parent

  1. Search 7.x for parent
  2. Search 9.5.x for parent
  3. Search 10.3.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/BookManager.php
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
Comment::getParentComment function core/modules/comment/src/Entity/Comment.php
Comment::hasParentComment function core/modules/comment/src/Entity/Comment.php
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.
ConfigSchemaTest::testSchemaMappingWithParents function core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php Tests metadata retrieval with several levels of %parent indirection.
config_schema_test.someschema.with_parents.yml file core/modules/config/tests/config_schema_test/config/install/config_schema_test.someschema.with_parents.yml core/modules/config/tests/config_schema_test/config/install/config_schema_test.someschema.with_parents.yml
CurrentRouteMatch::getParentRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php
drupal-8.taxonomy-parent-multilingual-3066439.php file core/modules/system/tests/fixtures/update/drupal-8.taxonomy-parent-multilingual-3066439.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2455125.
drupal-8.views-taxonomy-parent-2543726.php file core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2455125.
drupal-8.views-taxonomy-parent-2543726.yml file core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.yml core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.yml
EntityAdapterUnitTest::testGetParent function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::getParent[[api-linebreak]]
EntityFormDisplayAccessControlHandlerTest::$parent_member 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: Moves entity_reference specific Form API elements
(i.e. 'handler_settings') up a level for easier processing by the
validation and submission handlers.
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.
ForumManager::getParents function core/modules/forum/src/ForumManager.php Fetches the parent forums for a given forum.
ForumManagerInterface::getParents function core/modules/forum/src/ForumManagerInterface.php Fetches the parent forums for a given forum.
GDToolkit::getTransparentColor function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Gets the color set for transparency in GIF images.
LegacyForumTest::testGetParents function core/modules/forum/tests/src/Kernel/LegacyForumTest.php Tests the getParents() method.
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
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
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 This plugin figures out menu link parent plugin IDs.
MenuLinkParent.php file core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
MenuLinkParent::$menuLinkManager property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
MenuLinkParent::$menuLinkStorage property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
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::$migrationPlugin property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The Migration process plugin.

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