Search for count

  1. Search 7.x for count
  2. Search 8.9.x for count
  3. Search 10.3.x for count
  4. Search 11.x for count
  5. Other projects
Title Object type File name Summary
FastTest::$account property core/modules/system/tests/src/Functional/Theme/FastTest.php User allowed to access use profiles.
FetchTest::testRowCount function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests that rowCount() throws exception on SELECT query.
FieldableEntityStorageInterface::countFieldData function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Determines the number of entities with values for a given field.
FieldCounterTest class core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Tests the Drupal\views\Plugin\views\field\Counter handler.
FieldCounterTest class core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php Tests the display of counter field.
FieldCounterTest.php file core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
FieldCounterTest.php file core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
FieldCounterTest::$defaultTheme property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php The theme to install as the default for testing.
FieldCounterTest::$modules property core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Modules to enable.
FieldCounterTest::$modules property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php The modules that need to be installed for this test.
FieldCounterTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Views used by this test.
FieldCounterTest::$testViews property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php The views that are used by this test.
FieldCounterTest::$view property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
FieldCounterTest::setUp function core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php Sets up the test.
FieldCounterTest::testExcludedTitleTokenDisplay function core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php Tests the display of an excluded title field when used as a token.
FieldCounterTest::testPager function core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Tests the counter field when using a pager.
FieldCounterTest::testSimple function core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
FieldDataCountTest class core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests the count of field data records.
FieldDataCountTest.php file core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storage property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storageRev property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storageUser property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::setUp function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Set the default field storage backend for fields created during tests.
FieldDataCountTest::testCountWithIndex0 function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Verify that we can count a table that contains an entry with index 0.
FieldDataCountTest::testEntityCountAndHasData function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests entityCount() and hadData() methods.
FieldInstance::doCount function core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php Gets the source count using countQuery().
FieldTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FieldTest.php The account.
FieldTestItem::$counter property core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.php Counts how many times all items of this type are saved.
FieldUITest::$account property core/modules/field/tests/src/Functional/Views/FieldUITest.php A user with the 'administer views' permission.
FilePathTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Gets the expected number of entities per entity type after migration.
FilePathTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Gets expected number of entities per entity after incremental migration.
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Validates the number of uploaded files.
FilterTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php The account.
FilterTest::waitForVisibleElementCount function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php Waits for the specified number of items to be visible.
FormattableMarkup::count function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns the string length.
FormattableMarkupTest::testCount function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::count
FormCacheTest::$account property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The current user.
FormTestBase::$account property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The current user.
GeneratedLink::count function core/lib/Drupal/Core/GeneratedLink.php
GroupedExposedFilterTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php The account.
HandlerFilterUserNameTest::$accounts property core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php Accounts used by this test.
HelpSearch::$account property core/modules/help_topics/src/Plugin/Search/HelpSearch.php The Drupal account to use for checking for access to search.
HelpTopicSearchTest::assertSearchResultsCount function core/modules/help_topics/tests/src/Functional/HelpTopicSearchTest.php Asserts that help search returned the expected number of results.
hook_countries_alter function core/core.api.php Alter the default country list.
HtmlEscapedText::count function core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedTextTest::testCount function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @covers ::count
HTMLRestrictionsTest::providerCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::testCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::allowsNothing()
@covers ::getAllowedElements()
@dataProvider providerCounting
IdConflictTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php Gets the expected number of entities per entity type after migration.
IdConflictTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php Gets the expected number of entities per entity type after migration.

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