Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
StatisticsReportsTest::testPopularContentBlock function core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php Tests the "popular content" block.
StatisticsSettingsForm class core/modules/statistics/src/StatisticsSettingsForm.php Configure statistics settings for this site.
StatisticsSettingsForm.php file core/modules/statistics/src/StatisticsSettingsForm.php
StatisticsSettingsForm::$moduleHandler property core/modules/statistics/src/StatisticsSettingsForm.php The module handler.
StatisticsSettingsForm::buildForm function core/modules/statistics/src/StatisticsSettingsForm.php Form constructor.
StatisticsSettingsForm::create function core/modules/statistics/src/StatisticsSettingsForm.php Instantiates a new instance of this class.
StatisticsSettingsForm::getEditableConfigNames function core/modules/statistics/src/StatisticsSettingsForm.php Gets the configuration names that will be editable.
StatisticsSettingsForm::getFormId function core/modules/statistics/src/StatisticsSettingsForm.php Returns a unique string identifying the form.
StatisticsSettingsForm::submitForm function core/modules/statistics/src/StatisticsSettingsForm.php Form submission handler.
StatisticsSettingsForm::__construct function core/modules/statistics/src/StatisticsSettingsForm.php Constructs a \Drupal\statistics\StatisticsSettingsForm object.
StatisticsStorageInterface interface core/modules/statistics/src/StatisticsStorageInterface.php Provides an interface defining Statistics Storage.
StatisticsStorageInterface.php file core/modules/statistics/src/StatisticsStorageInterface.php
StatisticsStorageInterface::deleteViews function core/modules/statistics/src/StatisticsStorageInterface.php Delete counts for a specific entity.
StatisticsStorageInterface::fetchAll function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times an entity has been viewed.
StatisticsStorageInterface::fetchView function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times a single entity has been viewed.
StatisticsStorageInterface::fetchViews function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times entities have been viewed.
StatisticsStorageInterface::maxTotalCount function core/modules/statistics/src/StatisticsStorageInterface.php Returns the highest 'totalcount' value.
StatisticsStorageInterface::recordView function core/modules/statistics/src/StatisticsStorageInterface.php Counts an entity view.
StatisticsStorageInterface::resetDayCount function core/modules/statistics/src/StatisticsStorageInterface.php Reset the day counter for all entities once every day.
StatisticsTestBase class core/modules/statistics/tests/src/Functional/StatisticsTestBase.php Defines a base class for testing the Statistics module.
StatisticsTestBase.php file core/modules/statistics/tests/src/Functional/StatisticsTestBase.php
StatisticsTestBase::$blockingUser property core/modules/statistics/tests/src/Functional/StatisticsTestBase.php User with permissions to ban IPs.
StatisticsTestBase::$modules property core/modules/statistics/tests/src/Functional/StatisticsTestBase.php Modules to enable.
StatisticsTestBase::setUp function core/modules/statistics/tests/src/Functional/StatisticsTestBase.php
StatisticsTokenReplaceTest class core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Tests statistics token replacement.
StatisticsTokenReplaceTest.php file core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
StatisticsTokenReplaceTest::$defaultTheme property core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php The theme to install as the default for testing.
StatisticsTokenReplaceTest::testStatisticsTokenReplacement function core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Creates a node, then tests the statistics tokens generated from it.
StatisticsViewsResult class core/modules/statistics/src/StatisticsViewsResult.php Value object for passing statistic results.
StatisticsViewsResult.php file core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::$dayCount property core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::$timestamp property core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::$totalCount property core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::getDayCount function core/modules/statistics/src/StatisticsViewsResult.php Total number of times the entity has been viewed "today".
StatisticsViewsResult::getTimestamp function core/modules/statistics/src/StatisticsViewsResult.php Timestamp of when the entity was last viewed.
StatisticsViewsResult::getTotalCount function core/modules/statistics/src/StatisticsViewsResult.php Total number of times the entity has been viewed.
StatisticsViewsResult::__construct function core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResultTest class core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php @coversDefaultClass \Drupal\statistics\StatisticsViewsResult[[api-linebreak]]
@group statistics
@group legacy
StatisticsViewsResultTest.php file core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php
StatisticsViewsResultTest::providerTestStatisticsCount function core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php
StatisticsViewsResultTest::testStatisticsCount function core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php Tests migration of node counter.
statistics_block_alter function core/modules/statistics/statistics.module Implements hook_block_alter().
statistics_cron function core/modules/statistics/statistics.module Implements hook_cron().
statistics_help function core/modules/statistics/statistics.module Implements hook_help().
statistics_node_counter.yml file core/modules/statistics/migrations/statistics_node_counter.yml core/modules/statistics/migrations/statistics_node_counter.yml
statistics_node_links_alter function core/modules/statistics/statistics.module Implements hook_node_links_alter().
statistics_node_predelete function core/modules/statistics/statistics.module Implements hook_ENTITY_TYPE_predelete() for node entities.
statistics_node_translation_counter.yml file core/modules/statistics/migrations/statistics_node_translation_counter.yml core/modules/statistics/migrations/statistics_node_translation_counter.yml
statistics_node_view function core/modules/statistics/statistics.module Implements hook_ENTITY_TYPE_view() for node entities.
statistics_preprocess_block function core/modules/statistics/statistics.module Implements hook_preprocess_HOOK() for block templates.

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