Search for getParent

  1. Search 7.x for getParent
  2. Search 8.9.x for getParent
  3. Search 10.3.x for getParent
  4. Search 11.x for getParent
  5. Other projects
Title Object type File name Summary
BookManager::getParentDepthLimit function core/modules/book/src/BookManager.php Finds the depth limit for items in the parent select.
BookManagerInterface::getParentDepthLimit function core/modules/book/src/BookManagerInterface.php Finds the depth limit for items in the parent select.
Comment::getParentComment function core/modules/comment/src/Entity/Comment.php Returns the parent comment entity if this is a reply to a comment.
CommentInterface::getParentComment function core/modules/comment/src/CommentInterface.php Returns the parent comment entity if this is a reply to a comment.
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
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.
MenuLinkContentInterface::getParentId function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the plugin ID of the parent menu link.
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.
MenuParentFormSelector::getParentDepthLimit function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Returns the maximum depth of the possible parents of the menu link.
MenuParentFormSelector::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets the options for a select element to choose a menu and parent.
MenuParentFormSelectorInterface::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets the options for a select element to choose a menu and parent.
MigrateTaxonomyTermTest::getParentIDs function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php Retrieves the parent term IDs for a given term.
StackedRouteMatchInterface::getParentRouteMatch function core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php Returns the parent route match of the current.
StaticReflectionClass::getParentClass function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionParser::getParentParser function core/modules/migrate/src/Plugin/Discovery/StaticReflectionParser.php If the current class extends another, get the parser for the latter.
StaticReflectionParser::getParentStaticReflectionParser function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php
SubformState::getParents function core/lib/Drupal/Core/Form/SubformState.php Gets the subform's parents relative to its parent form.
TermForm::getParentIds function core/modules/taxonomy/src/TermForm.php Returns term parent IDs, including the root.
TermStorage::getParents function core/modules/taxonomy/src/TermStorage.php Returns a list of parents of this term.
TermTest::getParentTids function core/modules/taxonomy/tests/src/Functional/TermTest.php Get the parent tids for a term including root.
TypedData::getParent function core/lib/Drupal/Core/TypedData/TypedData.php Returns the parent data structure; i.e. either complex data or a list.
TypedDataInterface::getParent function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Returns the parent data structure; i.e. either complex data or a list.

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