Search for content

  1. Search 7.x for content
  2. Search 8.9.x for content
  3. Search 10.3.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
SqlContentEntityStorageTest class core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @coversDefaultClass \Drupal\Core\Entity\Sql\SqlContentEntityStorage
@group Entity
SqlContentEntityStorageTest.php file core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Contains \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest.
SqlContentEntityStorageTest::$cache property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The cache backend to use.
SqlContentEntityStorageTest::$connection property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The database connection to use.
SqlContentEntityStorageTest::$container property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The dependency injection container.
SqlContentEntityStorageTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The mocked entity field manager used in this test.
SqlContentEntityStorageTest::$entityStorage property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The content entity database storage used in this test.
SqlContentEntityStorageTest::$entityType property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The mocked entity type used in this test.
SqlContentEntityStorageTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The mocked entity type bundle info used in this test.
SqlContentEntityStorageTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The entity type ID.
SqlContentEntityStorageTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The mocked entity type manager used in this test.
SqlContentEntityStorageTest::$fieldDefinitions property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php An array of field definitions used for this test, keyed by field name.
SqlContentEntityStorageTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The language manager.
SqlContentEntityStorageTest::$moduleHandler property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The module handler.
SqlContentEntityStorageTest::mockFieldDefinitions function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Returns a set of mock field definitions for the given names.
SqlContentEntityStorageTest::providerTestGetBaseTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Provides test data for testGetBaseTable().
SqlContentEntityStorageTest::providerTestGetRevisionDataTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Provides test data for testGetRevisionDataTable().
SqlContentEntityStorageTest::providerTestGetRevisionTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Provides test data for testGetRevisionTable().
SqlContentEntityStorageTest::providerTestGetTableMappingSimple function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Provides test data for testGetTableMappingSimple().
SqlContentEntityStorageTest::setUp function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
SqlContentEntityStorageTest::setUpEntityStorage function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Sets up the content entity database storage.
SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Sets up the module handler with no implementations.
SqlContentEntityStorageTest::testCleanIds function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests entity ID sanitization.
SqlContentEntityStorageTest::testCreate function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::create
SqlContentEntityStorageTest::testGetBaseTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests SqlContentEntityStorage::getBaseTable().
SqlContentEntityStorageTest::testGetDataTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests SqlContentEntityStorage::getDataTable().
SqlContentEntityStorageTest::testGetRevisionDataTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests SqlContentEntityStorage::getRevisionDataTable().
SqlContentEntityStorageTest::testGetRevisionTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests SqlContentEntityStorage::getRevisionTable().
SqlContentEntityStorageTest::testGetTableMappingEmpty function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with an empty entity type.
SqlContentEntityStorageTest::testGetTableMappingRevisionable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a revisionable, non-translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a revisionable, translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a complex entity type with fields.
SqlContentEntityStorageTest::testGetTableMappingRevisionableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a revisionable entity type with fields.
SqlContentEntityStorageTest::testGetTableMappingSimple function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a simple entity type.
SqlContentEntityStorageTest::testGetTableMappingSimpleWithDedicatedStorageFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a base field that requires a dedicated table.
SqlContentEntityStorageTest::testGetTableMappingSimpleWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a simple entity type with some base fields.
SqlContentEntityStorageTest::testGetTableMappingTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a non-revisionable, translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingTranslatableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a translatable entity type with fields.
SqlContentEntityStorageTest::testHasData function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::hasData
SqlContentEntityStorageTest::testLoadMultipleNoPersistentCache function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::doLoadMultiple
@covers ::buildCacheId
@covers ::getFromPersistentCache
@covers ::setPersistentCache
SqlContentEntityStorageTest::testLoadMultiplePersistentCached function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::doLoadMultiple
@covers ::buildCacheId
@covers ::getFromPersistentCache
SqlContentEntityStorageTest::testLoadMultiplePersistentCacheMiss function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::doLoadMultiple
@covers ::buildCacheId
@covers ::getFromPersistentCache
@covers ::setPersistentCache
SqlContentEntityStorageTest::testOnEntityTypeCreate function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests ContentEntityDatabaseStorage::onEntityTypeCreate().
SqlContentEntityStorageTest::testSetTableMapping function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests that setting a new table mapping also updates the table names.
SqlContentEntityStorageTestEntityInterface class core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Provides an entity with dummy implementations of static methods.
SqlContentEntityStorageTestEntityInterface::postLoad function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Acts on loaded entities.
statistics.tracking_popular_content.html.twig file core/modules/help_topics/help_topics/statistics.tracking_popular_content.html.twig ---
label: 'Tracking and displaying popular content'
related:
- core.tracking_content
- history.tracking_user_content
- block.place
---
{% set statistics_settings = render_var(url('statistics.settings')) %}
{% set permissions…
StatisticsReportsTest::testPopularContentBlock function core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php Tests the "popular content" block.
StorageCopyTrait::replaceStorageContents function core/lib/Drupal/Core/Config/StorageCopyTrait.php Copy the configuration from one storage to another and remove stale items.
StorageCopyTraitTest::providerTestReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Provides data for testCheckRequirements().

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