Search for getParent

  1. Search 7.x for getParent
  2. Search 9.5.x for getParent
  3. Search 8.9.x for getParent
  4. Search 11.x for getParent
  5. Other projects
Title Object type File name Summary
CheckpointListInterface::getParents function core/lib/Drupal/Core/Config/Checkpoint/CheckpointListInterface.php Gets a checkpoint's parents.
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]]
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]]
MenuLinkBase::getParent function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the plugin ID of the menu link's parent, or an empty string.
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::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.