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 11.x for getCollection
  5. Other projects
Title Object type File name Summary
CachedStorage::getCollectionName function core/lib/Drupal/Core/Config/CachedStorage.php Gets the name of the current collection the storage is using.
CachedStorage::getCollectionPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache ID prefix to use for the collection.
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 Gets the name of the current collection the storage is using.
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 Gets the uppercase plural form of the name of the entity type.
EntityType::getCollectionPermission function core/lib/Drupal/Core/Entity/EntityType.php Gets the name of the default collection permission.
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 Gets the name of the current collection the storage is using.
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 Gets the name of the current collection the storage is using.
MemoryStorage::getCollectionName function core/lib/Drupal/Core/Config/MemoryStorage.php Gets the name of the current collection the storage is using.
NullStorage::getCollectionName function core/lib/Drupal/Core/Config/NullStorage.php Gets the name of the current collection the storage is using.
NullStorageExpirable::getCollectionName function core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php Returns the name of this collection.
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 Helper function to return a machine-optimized collection.
ReadOnlyStorage::getCollectionName function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Gets the name of the current collection the storage is using.
StorageBase::getCollectionName function core/lib/Drupal/Core/KeyValueStore/StorageBase.php Returns the name of this collection.
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 Gets the name of the current collection the storage is using.
TestDefaultHtmlRouteProvider::getCollectionRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the collection route.

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