| DefaultLazyPluginCollection::setConfiguration |
function |
core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php |
Sets the configuration for all plugins in this collection. |
| DefaultLazyPluginCollection::setInstanceConfiguration |
function |
core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php |
Updates the configuration for a plugin instance. |
| DefaultLazyPluginCollection::sort |
function |
core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php |
Sorts all plugin instances in this collection. |
| DefaultLazyPluginCollection::sortHelper |
function |
core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php |
Provides uasort() callback to sort plugins. |
| DefaultLazyPluginCollection::__construct |
function |
core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php |
Constructs a new DefaultLazyPluginCollection object. |
| DefaultLazyPluginCollectionTest |
class |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@coversDefaultClass \Drupal\Core\Plugin\DefaultLazyPluginCollection[[api-linebreak]]
@group Plugin |
| DefaultLazyPluginCollectionTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
|
| DefaultLazyPluginCollectionTest::$pluginInstances |
property |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Stores all setup plugin instances. |
| DefaultLazyPluginCollectionTest::getPluginMock |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Returns a mocked plugin object. |
| DefaultLazyPluginCollectionTest::providerTestSortHelper |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Provides test data for testSortHelper. |
| DefaultLazyPluginCollectionTest::testAddInstanceId |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::addInstanceId[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testClear |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::clear[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testConfigurableGetConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::getConfiguration[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testConfigurableInterface |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests that plugin methods are correctly attached to interfaces. |
| DefaultLazyPluginCollectionTest::testConfigurableSetConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::setConfiguration[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testConfigurableSetConfigurationToNull |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::setConfiguration[[api-linebreak]]
@group legacy |
| DefaultLazyPluginCollectionTest::testCount |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::count[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testGet |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::get[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testGetConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::getConfiguration[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testGetNotExistingPlugin |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::get[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testHas |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::has[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testRemoveInstanceId |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::removeInstanceId[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testSet |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::set[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testSetInstanceConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::setInstanceConfiguration[[api-linebreak]] |
| DefaultLazyPluginCollectionTest::testSetInstanceConfigurationPluginChange |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests plugin instances are changed if the configuration plugin key changes. |
| DefaultLazyPluginCollectionTest::testSortHelper |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
@covers ::sortHelper[[api-linebreak]]
@dataProvider providerTestSortHelper |
| DefaultMenuLinkTreeManipulators |
class |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Provides a couple of menu link tree manipulators. |
| DefaultMenuLinkTreeManipulators.php |
file |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
|
| DefaultMenuLinkTreeManipulators::$accessManager |
property |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
The access manager. |
| DefaultMenuLinkTreeManipulators::$account |
property |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
The current user. |
| DefaultMenuLinkTreeManipulators::$entityTypeManager |
property |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
The entity type manager. |
| DefaultMenuLinkTreeManipulators::$moduleHandler |
property |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
The module handler. |
| DefaultMenuLinkTreeManipulators::checkAccess |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Performs access checks of a menu tree. |
| DefaultMenuLinkTreeManipulators::checkNodeAccess |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Performs access checking for nodes in an optimized way. |
| DefaultMenuLinkTreeManipulators::collectNodeLinks |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Collects the node links in the menu tree. |
| DefaultMenuLinkTreeManipulators::flatten |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Flattens the tree to a single level. |
| DefaultMenuLinkTreeManipulators::generateIndexAndSort |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Generates a unique index and sorts by it. |
| DefaultMenuLinkTreeManipulators::menuLinkCheckAccess |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Checks access for one menu link instance. |
| DefaultMenuLinkTreeManipulators::__construct |
function |
core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php |
Constructs a \Drupal\Core\Menu\DefaultMenuLinkTreeManipulators object. |
| DefaultMenuLinkTreeManipulatorsTest |
class |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
Tests the default menu link tree manipulators. |
| DefaultMenuLinkTreeManipulatorsTest.php |
file |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
|
| DefaultMenuLinkTreeManipulatorsTest::$accessManager |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The mocked access manager. |
| DefaultMenuLinkTreeManipulatorsTest::$cacheContextManager |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
Mock cache context manager. |
| DefaultMenuLinkTreeManipulatorsTest::$currentUser |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The mocked current user. |
| DefaultMenuLinkTreeManipulatorsTest::$defaultMenuTreeManipulators |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The default menu link tree manipulators. |
| DefaultMenuLinkTreeManipulatorsTest::$entityTypeManager |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The mocked entity type manager. |
| DefaultMenuLinkTreeManipulatorsTest::$links |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
Array of menu link instances. |
| DefaultMenuLinkTreeManipulatorsTest::$moduleHandler |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The mocked module handler. |
| DefaultMenuLinkTreeManipulatorsTest::$originalTree |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The original menu tree build in mockTree(). |
| DefaultMenuLinkTreeManipulatorsTest::mockTree |
function |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
Creates a mock tree. |