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
MenuLinkParentTest::$migrateLookup property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php A MigrateLookupInterface prophecy.
MenuLinkParentTest::$migration property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php A MigrationInterface prophecy.
MenuLinkParentTest::$pathValidator property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php A Path validator prophecy.
MenuLinkParentTest::doTransform function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Helper to finish setup and run the test.
MenuLinkParentTest::providerConstructorException function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Provides data for testConstructorException().
MenuLinkParentTest::providerLookupMigrations function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Provides data for testLookupMigrations().
MenuLinkParentTest::providerMenuLinkParent function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Provides data for testMenuLinkParent().
MenuLinkParentTest::providerTransformException function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Provides data for testTransformException().
MenuLinkParentTest::setUp function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php
MenuLinkParentTest::testConstructorException function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests that an exception is thrown for invalid options.
MenuLinkParentTest::testLookupMigrations function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests the lookup_migrations option.
MenuLinkParentTest::testMenuLinkParent function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests the menu link content process plugin.
MenuLinkParentTest::testTransformException function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests that an exception is thrown when the parent menu link is not found.
MenuLinksTest::assertMenuLinkParents function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Assert that at set of links is properly parented.
MenuLinksTest::testMenuLinkContentFormInvalidParentMenu function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Tests that the form doesn't break for links with arbitrary menu names.
MenuLinksTest::testMenuLinkContentParentUpdate function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Tests the MenuLinkContent::preDelete function.
MenuLinksTest::testMenuLinkParentUpdate function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Tests automatic update of parent menu links.
MenuParentFormSelector class core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Default implementation of the menu parent form selector service.
MenuParentFormSelector.php file core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
MenuParentFormSelector::$entityTypeManager property core/lib/Drupal/Core/Menu/MenuParentFormSelector.php The entity type manager service.
MenuParentFormSelector::$menuLinkTree property core/lib/Drupal/Core/Menu/MenuParentFormSelector.php The menu link tree service.
MenuParentFormSelector::getMenuOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets a list of menu names for use as options.
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
MenuParentFormSelector::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
MenuParentFormSelector::parentSelectOptionsTreeWalk function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Iterates over all items in the tree to prepare the parents select options.
MenuParentFormSelector::__construct function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Constructs a \Drupal\Core\Menu\MenuParentFormSelector.
MenuParentFormSelectorInterface interface core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Defines an interface for menu selector form elements and menu link options.
MenuParentFormSelectorInterface.php file core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php
MenuParentFormSelectorInterface::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets the options for a select element to choose a menu and parent.
MenuParentFormSelectorInterface::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets a form element to choose a menu and parent.
MenuSettingsConstraint::$messageParent property core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php The violation message when changing the parent for a unpublished content.
MenuTreeParameters::$expandedParents property core/lib/Drupal/Core/Menu/MenuTreeParameters.php An array of parent link IDs.
MenuTreeParameters::addExpandedParents function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Adds parent menu links IDs to restrict the tree.
MenuTreeStorage::findParent function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads the parent definition if it exists.
MenuTreeStorage::setParents function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Sets the materialized path field values based on the parent.
MenuTreeStorage::updateParentalStatus function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Sets has_children for the link's parent if it has visible children.
MenuUiTest::checkInvalidParentMenuLinks function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests that parent options are limited by depth when adding menu links.
MenuUiTest::testMenuParentsJsAccess function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests if admin users, other than UID1, can access parents AJAX callback.
MigrateTaxonomyTermTest::getParentIDs function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php Retrieves the parent term IDs for a given term.
NestedArrayTest::$parents property core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Array of parents for the nested element.
Page::$parentFormSelector property core/modules/views/src/Plugin/views/display/Page.php The parent form selector service.
PathParentCacheContext class core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Defines a cache context service for path parents.
PathParentCacheContext.php file core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
PathParentCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
PathParentCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
PathParentCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
PathParentCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php Tests Drupal\Core\Cache\Context\PathParentCacheContext.
PathParentCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php
PathParentCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php Provides a list of paths and expected cache contexts.

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