Search for collect

  1. Search 7.x for collect
  2. Search 9.5.x for collect
  3. Search 8.9.x for collect
  4. Search 11.x for collect
  5. Other projects
Title Object type File name Summary
LinkCollection.php file core/modules/jsonapi/src/JsonApiResource/LinkCollection.php
LinkCollection::$context property core/modules/jsonapi/src/JsonApiResource/LinkCollection.php The link context.
LinkCollection::$links property core/modules/jsonapi/src/JsonApiResource/LinkCollection.php The links in the collection, keyed by unique strings.
LinkCollection::filter function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Filters a LinkCollection using the provided callback.
LinkCollection::getContext function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Gets the LinkCollection's context object.
LinkCollection::getIterator function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php
LinkCollection::hasLinkWithKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Whether a link with the given key exists.
LinkCollection::merge function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Merges two LinkCollections.
LinkCollection::validKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Ensures that a link key is valid.
LinkCollection::withContext function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Establishes a new context for a LinkCollection.
LinkCollection::withLink function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Gets a new LinkCollection with the given link inserted.
LinkCollection::__construct function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php LinkCollection constructor.
LinkCollectionNormalizer class core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php Normalizes a LinkCollection object.
LinkCollectionNormalizer.php file core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
LinkCollectionNormalizer::$currentUser property core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The current user making the request.
LinkCollectionNormalizer::$hashSalt property core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php A random string to use when hashing links.
LinkCollectionNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
LinkCollectionNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
LinkCollectionNormalizer::hashByHref function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php Hashes a link using its href and its target attributes, if any.
LinkCollectionNormalizer::LINK_CONTEXT constant core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The normalizer $context key name for the context object of the link.
LinkCollectionNormalizer::LINK_KEY constant core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The normalizer $context key name for the key of an individual link.
LinkCollectionNormalizer::normalize function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
LinkCollectionNormalizer::__construct function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php LinkCollectionNormalizer constructor.
LinkCollectionNormalizerTest class core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php @coversDefaultClass \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer
@group jsonapi
LinkCollectionNormalizerTest.php file core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
LinkCollectionNormalizerTest::$modules property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Modules to install.
LinkCollectionNormalizerTest::$normalizer property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php The subject under test.
LinkCollectionNormalizerTest::$serializer property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php The serializer.
LinkCollectionNormalizerTest::$testUsers property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Test users.
LinkCollectionNormalizerTest::getNormalizer function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Get an instance of the normalizer to test.
LinkCollectionNormalizerTest::linkAccessTestData function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Provides test cases for testing link access checking.
LinkCollectionNormalizerTest::setUp function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
LinkCollectionNormalizerTest::testLinkAccess function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Tests the link collection normalizer.
LinkCollectionNormalizerTest::testNormalize function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Tests the link collection normalizer.
ManagedStorage::createCollection function core/lib/Drupal/Core/Config/ManagedStorage.php Creates a collection on the storage.
ManagedStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/ManagedStorage.php Gets the existing collections.
ManagedStorage::getCollectionName function core/lib/Drupal/Core/Config/ManagedStorage.php Gets the name of the current collection the storage is using.
MediaTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/MediaTest.php
MediaType::$sourcePluginCollection property core/modules/media/src/Entity/MediaType.php Lazy collection for the media source.
MediaType::getPluginCollections function core/modules/media/src/Entity/MediaType.php
MediaType::sourcePluginCollection function core/modules/media/src/Entity/MediaType.php Returns media source lazy plugin collection.
MediaUiFunctionalTest::testMediaCollectionRoute function core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php Tests the media collection route.
MemoryBackend::garbageCollection function core/lib/Drupal/Core/Flood/MemoryBackend.php
MemoryBackend::garbageCollection function core/lib/Drupal/Core/Cache/MemoryBackend.php Performs garbage collection on a cache bin.
MemoryStorage::$collection property core/lib/Drupal/Core/Config/MemoryStorage.php The storage collection.
MemoryStorage::createCollection function core/lib/Drupal/Core/Config/MemoryStorage.php Creates a collection on the storage.
MemoryStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/MemoryStorage.php Gets the existing collections.
MemoryStorage::getCollectionName function core/lib/Drupal/Core/Config/MemoryStorage.php Gets the name of the current collection the storage is using.
MenuLinkContentTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
MenuTreeStorage::collectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Traverses the menu tree and collects all the route names and definitions.

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