Search for parent
- Search 7.x for parent
- Search 8.9.x for parent
- Search 10.3.x for parent
- Search 11.x for parent
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MenuLinkParentTest::$menuLinkStorage | property | core/ |
The menu link entity storage handler. |
MenuLinkParentTest::$migrateLookup | property | core/ |
A MigrateLookupInterface prophecy. |
MenuLinkParentTest::$migration | property | core/ |
A MigrationInterface prophecy. |
MenuLinkParentTest::$pathValidator | property | core/ |
A Path validator prophecy. |
MenuLinkParentTest::doTransform | function | core/ |
Helper to finish setup and run the test. |
MenuLinkParentTest::providerMenuLinkParent | function | core/ |
Provides data for testMenuLinkParent(). |
MenuLinkParentTest::providerTransformException | function | core/ |
Provides data for testTransformException(). |
MenuLinkParentTest::setUp | function | core/ |
|
MenuLinkParentTest::testMenuLinkParent | function | core/ |
Tests the menu link content process plugin. |
MenuLinkParentTest::testTransformException | function | core/ |
Tests that an exception is thrown when the parent menu link is not found. |
MenuLinksTest::assertMenuLinkParents | function | core/ |
Assert that at set of links is properly parented. |
MenuLinksTest::testMenuLinkContentReparenting | function | core/ |
Tests the MenuLinkContent::preDelete function. |
MenuLinksTest::testMenuLinkReparenting | function | core/ |
Tests automatic reparenting of menu links. |
MenuParentFormSelector | class | core/ |
Default implementation of the menu parent form selector service. |
MenuParentFormSelector.php | file | core/ |
|
MenuParentFormSelector::$entityTypeManager | property | core/ |
The entity type manager service. |
MenuParentFormSelector::$menuLinkTree | property | core/ |
The menu link tree service. |
MenuParentFormSelector::getMenuOptions | function | core/ |
Gets a list of menu names for use as options. |
MenuParentFormSelector::getParentDepthLimit | function | core/ |
Returns the maximum depth of the possible parents of the menu link. |
MenuParentFormSelector::getParentSelectOptions | function | core/ |
|
MenuParentFormSelector::parentSelectElement | function | core/ |
|
MenuParentFormSelector::parentSelectOptionsTreeWalk | function | core/ |
Iterates over all items in the tree to prepare the parents select options. |
MenuParentFormSelector::__construct | function | core/ |
Constructs a \Drupal\Core\Menu\MenuParentFormSelector. |
MenuParentFormSelectorInterface | interface | core/ |
Defines an interface for menu selector form elements and menu link options. |
MenuParentFormSelectorInterface.php | file | core/ |
|
MenuParentFormSelectorInterface::getParentSelectOptions | function | core/ |
Gets the options for a select element to choose a menu and parent. |
MenuParentFormSelectorInterface::parentSelectElement | function | core/ |
Gets a form element to choose a menu and parent. |
MenuSettingsConstraint::$messageParent | property | core/ |
|
MenuTreeParameters::$expandedParents | property | core/ |
An array of parent link IDs. |
MenuTreeParameters::addExpandedParents | function | core/ |
Adds parent menu links IDs to restrict the tree. |
MenuTreeStorage::findParent | function | core/ |
Loads the parent definition if it exists. |
MenuTreeStorage::setParents | function | core/ |
Sets the materialized path field values based on the parent. |
MenuTreeStorage::updateParentalStatus | function | core/ |
Sets has_children for the link's parent if it has visible children. |
MenuUiTest::checkInvalidParentMenuLinks | function | core/ |
Tests that parent options are limited by depth when adding menu links. |
MenuUiTest::testMenuParentsJsAccess | function | core/ |
Tests if admin users, other than UID1, can access parents AJAX callback. |
MigrateTaxonomyTermTest::getParentIDs | function | core/ |
Retrieves the parent term IDs for a given term. |
NestedArrayTest::$parents | property | core/ |
Array of parents for the nested element. |
Page::$parentFormSelector | property | core/ |
The parent form selector service. |
PathParentCacheContext | class | core/ |
Defines a cache context service for path parents. |
PathParentCacheContext.php | file | core/ |
|
PathParentCacheContext::getCacheableMetadata | function | core/ |
|
PathParentCacheContext::getContext | function | core/ |
|
PathParentCacheContext::getLabel | function | core/ |
|
PathParentCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\PathParentCacheContext[[api-linebreak]] @group Cache |
PathParentCacheContextTest.php | file | core/ |
|
PathParentCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of paths and expected cache contexts. |
PathParentCacheContextTest::testGetContext | function | core/ |
@covers ::getContext[[api-linebreak]] |
QueueExceptionsTest::testDelayedRequeueExceptionCallsParentConstructor | function | core/ |
Tests that the `DelayedRequeueException` calls parent constructor. |
RendererPlaceholdersTest::testCacheableParent | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::get[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::set[[api-linebreak]] @covers… |
RendererPlaceholdersTest::testCacheableParentWithPostRequest | function | core/ |
@covers ::render[[api-linebreak]] @covers ::doRender[[api-linebreak]] @covers \Drupal\Core\Render\RenderCache::get[[api-linebreak]] @covers ::replacePlaceholders[[api-linebreak]] |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.