Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
StatisticsPopularBlock::defaultConfiguration function core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
StatisticsPopularBlock::nodeTitleList function core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php Generates the ordered array of node links for build().
StatisticsPopularBlock::__construct function core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php Constructs an StatisticsPopularBlock object.
StatisticsReportsTest class core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php Tests display of statistics report blocks.
StatisticsReportsTest.php file core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
StatisticsReportsTest::$defaultTheme property core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php The theme to install as the default for testing.
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 a 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 Count a 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 class core/modules/statistics/src/Tests/StatisticsTestBase.php Defines a base class for testing the Statistics module.
StatisticsTestBase.php file core/modules/statistics/src/Tests/StatisticsTestBase.php
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 IP's.
StatisticsTestBase::$blockingUser property core/modules/statistics/src/Tests/StatisticsTestBase.php User with permissions to ban IP's.
StatisticsTestBase::$modules property core/modules/statistics/src/Tests/StatisticsTestBase.php Modules to enable.
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
StatisticsTestBase::setUp function core/modules/statistics/src/Tests/StatisticsTestBase.php Sets up a Drupal site for running functional and integration tests.
StatisticsTokenReplaceTest class core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php Generates text using placeholders for dummy content to check 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
StatisticsViewsResultTest.php file core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php

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