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
ajax_forms_test_validation_number_form_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects the 'driver_number' element of the validation form.
BuildTestBase::getPortNumber function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get the port number for requests.
Bytes::toNumber function core/lib/Drupal/Component/Utility/Bytes.php Parses a given byte size.
BytesTest::providerTestToNumber function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Provides data for testToNumber().
BytesTest::testToNumber function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests \Drupal\Component\Utility\Bytes::toNumber().
Callbacks::validationNumberFormCallback function core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php Ajax form callback: Selects the 'driver_number' element of the validation form.
CommentStorage::getNewCommentPageNumber function core/modules/comment/src/CommentStorage.php Calculates the page number for the first new comment.
CommentStorageInterface::getNewCommentPageNumber function core/modules/comment/src/CommentStorageInterface.php Calculates the page number for the first new comment.
ConfigQueryTest::$number property core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php A number used by the sort tests.
DatabaseQueue::numberOfItems function core/lib/Drupal/Core/Queue/DatabaseQueue.php Retrieves the number of items in the queue.
DecimalFormatter::numberFormat function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/DecimalFormatter.php Formats a number.
DocParserTest::testKeyHasNumber function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
ElementInfoTestNumberBuilder class core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php Provides a trusted callback to alter the element_info_test number element.
ElementInfoTestNumberBuilder.php file core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php
ElementInfoTestNumberBuilder::preRender function core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php Sets element_info_test - #pre_render callback.
ElementInfoTestNumberBuilder::trustedCallbacks function core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php Lists the trusted callbacks provided by the implementing class.
ExtensionVersionTest::providerInvalidVersionNumber function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php Data provider for testInvalidVersionNumber().
ExtensionVersionTest::testInvalidVersionNumber function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php @covers ::createFromVersionString
field--field-number-of-servings.html.twig file core/profiles/demo_umami/themes/umami/templates/components/field/field--field-number-of-servings.html.twig Theme override for a field.
field--node--field-number-of-servings--recipe--full.html.twig file core/profiles/demo_umami/themes/umami/templates/components/field/field--node--field-number-of-servings--recipe--full.html.twig Theme override for a field.
field.field.node.recipe.field_number_of_servings.yml file core/profiles/demo_umami/config/install/field.field.node.recipe.field_number_of_servings.yml core/profiles/demo_umami/config/install/field.field.node.recipe.field_number_of_servings.yml
field.storage.node.field_number_of_servings.yml file core/profiles/demo_umami/config/install/field.storage.node.field_number_of_servings.yml core/profiles/demo_umami/config/install/field.storage.node.field_number_of_servings.yml
FieldFormatterSettingsDefaults::numberSettings function core/modules/field/src/Plugin/migrate/process/d6/FieldFormatterSettingsDefaults.php
FormattableMarkupTest::$lastErrorNumber property core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php The error number of the last error in the error handler.
FormTest::testNumber function core/modules/system/tests/src/Functional/Form/FormTest.php Tests validation of #type 'number' and 'range' elements.
FormTestNumberForm class core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php Builds a form to test #type 'number' and 'range' validation.
FormTestNumberForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php
FormTestNumberForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php Form constructor.
FormTestNumberForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php Returns a unique string identifying the form.
FormTestNumberForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php Form submission handler.
IconExtractorSettingsForm::buildNumberForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Build Drupal form for a number or integer setting.
IntegerFormatter::numberFormat function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/IntegerFormatter.php Formats a number.
Memory::numberOfItems function core/lib/Drupal/Core/Queue/Memory.php Retrieves the number of items in the queue.
Number class core/lib/Drupal/Component/Utility/Number.php Provides helper methods for manipulating numbers.
Number class core/lib/Drupal/Core/Render/Element/Number.php Provides a form element for numeric input, with special numeric validation.
Number.php file core/lib/Drupal/Component/Utility/Number.php
Number.php file core/lib/Drupal/Core/Render/Element/Number.php
Number::alphadecimalToInt function core/lib/Drupal/Component/Utility/Number.php Decodes a sorting code back to an integer.
Number::getInfo function core/lib/Drupal/Core/Render/Element/Number.php Returns the element properties for this element.
Number::intToAlphadecimal function core/lib/Drupal/Component/Utility/Number.php Generates a sorting code from an integer.
Number::preRenderNumber function core/lib/Drupal/Core/Render/Element/Number.php Prepares a #type 'number' render element for input.html.twig.
Number::validateNumber function core/lib/Drupal/Core/Render/Element/Number.php Form element validation handler for #type 'number'.
Number::validStep function core/lib/Drupal/Component/Utility/Number.php Verifies that a number is a multiple of a given step.
NumberField class core/modules/field/src/Plugin/migrate/field/d7/NumberField.php MigrateField plugin for Drupal 7 number fields.
NumberField.php file core/modules/field/src/Plugin/migrate/field/d7/NumberField.php
NumberFieldTest class core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Tests the creation of numeric fields.
NumberFieldTest class core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php Tests the numeric field widget.
NumberFieldTest.php file core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
NumberFieldTest.php file core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php
NumberFieldTest::$defaultTheme property core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php The theme to install as the default for testing.

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