Search for number

  1. Search 7.x for number
  2. Search 8.9.x for number
  3. Search 10.3.x for number
  4. Search 11.x for number
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Number class core/lib/Drupal/Core/Render/Element/Number.php Provides a form element for numeric input, with special numeric validation.
Number class core/lib/Drupal/Component/Utility/Number.php Provides helper methods for manipulating numbers.

All search results

Title Object type File name Summary
PluralFormulaInterface::getNumberOfPlurals function core/modules/locale/src/PluralFormulaInterface.php Returns the number of plurals supported by a given language.
PoStreamReader::$lineNumber property core/lib/Drupal/Component/Gettext/PoStreamReader.php Source line number of the stream being parsed.
PREG_CLASS_NUMBERS constant core/modules/search/search.module Matches all 'N' Unicode character classes (numbers)
QueueInterface::numberOfItems function core/lib/Drupal/Core/Queue/QueueInterface.php Retrieves the number of items in the queue.
SearchNumberMatchingTest class core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php Tests that numbers can be searched with more complex matching.
SearchNumberMatchingTest.php file core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php
SearchNumberMatchingTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php The theme to install as the default for testing.
SearchNumberMatchingTest::$modules property core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php Modules to enable.
SearchNumberMatchingTest::$nodes property core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php An array of nodes created for testing purposes.
SearchNumberMatchingTest::$numbers property core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php An array of strings containing numbers to use for testing.
SearchNumberMatchingTest::$testUser property core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php A user with permission to administer nodes.
SearchNumberMatchingTest::setUp function core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php
SearchNumberMatchingTest::testNumberSearching function core/modules/search/tests/src/Functional/SearchNumberMatchingTest.php Tests that all the numbers can be searched.
SearchNumbersTest class core/modules/search/tests/src/Functional/SearchNumbersTest.php Tests that numbers can be searched.
SearchNumbersTest.php file core/modules/search/tests/src/Functional/SearchNumbersTest.php
SearchNumbersTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchNumbersTest.php The theme to install as the default for testing.
SearchNumbersTest::$modules property core/modules/search/tests/src/Functional/SearchNumbersTest.php Modules to enable.
SearchNumbersTest::$nodes property core/modules/search/tests/src/Functional/SearchNumbersTest.php An array of nodes created for testing purposes.
SearchNumbersTest::$numbers property core/modules/search/tests/src/Functional/SearchNumbersTest.php An array containing a series of "numbers" for testing purposes.
SearchNumbersTest::$testUser property core/modules/search/tests/src/Functional/SearchNumbersTest.php A user with permission to administer nodes.
SearchNumbersTest::setUp function core/modules/search/tests/src/Functional/SearchNumbersTest.php
SearchNumbersTest::testNumberSearching function core/modules/search/tests/src/Functional/SearchNumbersTest.php Tests that all the numbers can be searched.
SearchTextProcessorInterface::PREG_CLASS_NUMBERS constant core/modules/search/src/SearchTextProcessorInterface.php Matches all 'N' Unicode character classes (numbers)
SelectPagerDefaultTest::testElementNumbers function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that every pager gets a valid, non-overlapping element ID.
StringTranslationTrait::getNumberOfPlurals function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Returns the number of plurals supported by a given language.
TelephoneFieldTest::providerPhoneNumbers function core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php Provides the phone numbers to check and expected results.
TranslatableMarkupTest::$lastErrorNumber property core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php The error number of the last error in the error handler.
UpdateProcessor::numberOfQueueItems function core/modules/update/src/UpdateProcessor.php Retrieves the number of items in the update fetch queue.
UpdateProcessorInterface::numberOfQueueItems function core/modules/update/src/UpdateProcessorInterface.php Retrieves the number of items in the update fetch queue.
UrlTest::testFromUriNumber function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with a base: URI starting with a number.
WorkspaceMerger::getNumberOfChangesOnSource function core/modules/workspaces/src/WorkspaceMerger.php Gets the total number of items which have changed on the source.
WorkspaceMerger::getNumberOfChangesOnTarget function core/modules/workspaces/src/WorkspaceMerger.php Gets the total number of items which have changed on the target.
WorkspaceOperationInterface::getNumberOfChangesOnSource function core/modules/workspaces/src/WorkspaceOperationInterface.php Gets the total number of items which have changed on the source.
WorkspaceOperationInterface::getNumberOfChangesOnTarget function core/modules/workspaces/src/WorkspaceOperationInterface.php Gets the total number of items which have changed on the target.
WorkspacePublisher::getNumberOfChangesOnSource function core/modules/workspaces/src/WorkspacePublisher.php Gets the total number of items which have changed on the source.
WorkspacePublisher::getNumberOfChangesOnTarget function core/modules/workspaces/src/WorkspacePublisher.php Gets the total number of items which have changed on the target.

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