Search for getCollection

  1. Search 7.x for getCollection
  2. Search 9.5.x for getCollection
  3. Search 8.9.x for getCollection
  4. Search 10.3.x for getCollection
  5. Other projects
Title Object type File name Summary
AllowListConfigStorage::getCollectionName function core/lib/Drupal/Core/Recipe/AllowListConfigStorage.php
CachedStorage::getCollectionName function core/lib/Drupal/Core/Config/CachedStorage.php
CachedStorage::getCollectionPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache ID prefix to use for the collection.
CheckpointStorage::getCollectionName function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php
ConfigCollectionInfo::getCollectionNames function core/lib/Drupal/Core/Config/ConfigCollectionInfo.php Gets the list of possible collection names.
ContainerTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a machine-optimized collection.
DatabaseStorage::getCollectionName function core/lib/Drupal/Core/Config/DatabaseStorage.php
DefaultHtmlRouteProvider::getCollectionRoute function core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php Gets the collection route.
DefaultHtmlRouteProviderTest::providerTestGetCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::testGetCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getCollectionRoute
@dataProvider providerTestGetCollectionRoute
EntityResource::getCollection function core/modules/jsonapi/src/Controller/EntityResource.php Gets the collection of entities.
EntityResource::getCollectionCountQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection count.
EntityResource::getCollectionQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection.
EntityType::getCollectionLabel function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::getCollectionPermission function core/lib/Drupal/Core/Entity/EntityType.php
EntityTypeInterface::getCollectionLabel function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the uppercase plural form of the name of the entity type.
EntityTypeInterface::getCollectionPermission function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the name of the default collection permission.
EntityTypeTest::testGetCollectionLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getCollectionLabel
FileStorage::getCollectionDirectory function core/lib/Drupal/Core/Config/FileStorage.php Gets the directory for the collection.
FileStorage::getCollectionName function core/lib/Drupal/Core/Config/FileStorage.php
KeyValueStoreInterface::getCollectionName function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the name of this collection.
ManagedStorage::getCollectionName function core/lib/Drupal/Core/Config/ManagedStorage.php
MemoryStorage::getCollectionName function core/lib/Drupal/Core/Config/MemoryStorage.php
NullStorage::getCollectionName function core/lib/Drupal/Core/Config/NullStorage.php
NullStorageExpirable::getCollectionName function core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php
OptimizedPhpArrayDumperTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Helper function to return a machine-optimized collection.
PhpArrayContainerTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a machine-optimized '@notation'.
PhpArrayDumperTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php
ReadOnlyStorage::getCollectionName function core/lib/Drupal/Core/Config/ReadOnlyStorage.php
RecipeConfigStorageWrapper::getCollectionName function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php
RecipeConfigStorageWrapperTest::testGetCollection function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Test the collection name is stored properly.
RecipeExtensionConfigStorage::getCollectionName function core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php Gets the name of the current collection the storage is using.
RecipeOverrideConfigStorage::getCollectionName function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php
StorageBase::getCollectionName function core/lib/Drupal/Core/KeyValueStore/StorageBase.php
StorageInterface::getCollectionName function core/lib/Drupal/Core/Config/StorageInterface.php Gets the name of the current collection the storage is using.
StorageReplaceDataWrapper::getCollectionName function core/modules/config/src/StorageReplaceDataWrapper.php
TestDefaultHtmlRouteProvider::getCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php

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