Search for number

  1. Search 7.x for number
  2. Search 9.5.x for number
  3. Search 8.9.x for number
  4. Search 10.3.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
NumberFieldTest::$defaultTheme property core/modules/field/tests/src/Functional/Number/NumberFieldTest.php The theme to install as the default for testing.
NumberFieldTest::$modules property core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php Modules to install.
NumberFieldTest::$modules property core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Modules to install.
NumberFieldTest::assertSetMinimumValue function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Helper function to set the minimum value of a field.
NumberFieldTest::setUp function core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php
NumberFieldTest::setUp function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
NumberFieldTest::testMinimumValues function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Tests setting minimum values through the interface.
NumberFieldTest::testNumberDecimalField function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Tests decimal field.
NumberFieldTest::testNumberFloatField function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Tests float field.
NumberFieldTest::testNumberFormatter function core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php Tests default formatter behavior.
NumberFieldTest::testNumberIntegerField function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Tests integer field.
NumberItemTest class core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Tests the new entity API for the number field type.
NumberItemTest.php file core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
NumberItemTest::$modules property core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Modules to install.
NumberItemTest::dataNumberFieldSettingsProvider function core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Data provider for testConstraints.
NumberItemTest::dataTestMinMaxValue function core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Data provider for testFormFieldMinMaxValue().
NumberItemTest::setUp function core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Set the default field storage backend for fields created during tests.
NumberItemTest::testConstraints function core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Tests constraints on numeric item fields.
NumberItemTest::testFormFieldMinMaxValue function core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Tests the validation of minimum and maximum values.
NumberItemTest::testNumberItem function core/modules/field/tests/src/Kernel/Number/NumberItemTest.php Tests using entity fields of the number field type.
NumberListField class core/modules/options/src/Plugin/views/argument/NumberListField.php Argument handler for list field to show human readable name in the summary.
NumberListField.php file core/modules/options/src/Plugin/views/argument/NumberListField.php
NumberListField::$allowedValues property core/modules/options/src/Plugin/views/argument/NumberListField.php Stores the allowed values of this field.
NumberListField::buildOptionsForm function core/modules/options/src/Plugin/views/argument/NumberListField.php Provide a form to edit options for this plugin.
NumberListField::defineOptions function core/modules/options/src/Plugin/views/argument/NumberListField.php Information about options for all kinds of purposes will be held here.
NumberListField::init function core/modules/options/src/Plugin/views/argument/NumberListField.php Overrides Drupal\views\Plugin\views\HandlerBase:init().
NumberListField::summaryName function core/modules/options/src/Plugin/views/argument/NumberListField.php Provides the name to use for the summary, defaults to the name field.
NumberTest class core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests number manipulation utilities.
NumberTest.php file core/tests/Drupal/Tests/Component/Utility/NumberTest.php
NumberTest::providerTestConversions function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Data provider for testConversions().
NumberTest::providerTestValidStep function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Provides data for self::testNumberStep().
NumberTest::providerTestValidStepOffset function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Data provider for testValidStepOffset().
NumberTest::testAlphadecimalToIntReturnsZeroWithNullAndEmptyString function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests the alphadecimal conversion function keeps backward compatibility.
NumberTest::testAlphadecimalToIntThrowsExceptionWithMalformedStrings function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests the alphadecimal conversion function input parameter checking.
NumberTest::testConversions function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests the alphadecimal conversion functions.
NumberTest::testValidStep function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests Number::validStep() without offset.
NumberTest::testValidStepOffset function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests Number::validStep() with offset.
NumberWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Plugin implementation of the 'number' widget.
NumberWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php
NumberWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Defines the default settings for this plugin.
NumberWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Assigns a field-level validation error to the right widget sub-element.
NumberWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns the form for a single field widget.
NumberWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns a form to configure settings for the widget.
NumberWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns a short summary for the current widget settings.
NumericFormatterBase::numberFormat function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php Formats a number.
PluralFormula::getNumberOfPlurals function core/modules/locale/src/PluralFormula.php
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.
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.

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