Search for float

  1. Search 7.x for float
  2. Search 9.5.x for float
  3. Search 10.3.x for float
  4. Search 11.x for float
  5. Other projects
Title Object type File name Summary
AnnotationWithAttributes::$float property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getFloat function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithConstants::FLOAT constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php
AnnotationWithVarType::$float property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php
DocParserTest::testCastFloat function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group DCOM-38
DocParserTest::testCastNegativeFloat function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group DCOM-38
field.field.node.options_install_test.field_options_float.yml file core/modules/options/tests/options_config_install_test/config/install/field.field.node.options_install_test.field_options_float.yml core/modules/options/tests/options_config_install_test/config/install/field.field.node.options_install_test.field_options_float.yml
field.storage.node.field_options_float.yml file core/modules/options/tests/options_config_install_test/config/install/field.storage.node.field_options_float.yml core/modules/options/tests/options_config_install_test/config/install/field.storage.node.field_options_float.yml
FloatData class core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php The float data type.
FloatData.php file core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php
FloatData::getCastedValue function core/lib/Drupal/Core/TypedData/Plugin/DataType/FloatData.php Gets the primitive data value casted to the correct PHP type.
FloatInterface interface core/lib/Drupal/Core/TypedData/Type/FloatInterface.php Interface for floating-point numbers.
FloatInterface.php file core/lib/Drupal/Core/TypedData/Type/FloatInterface.php
FloatItem class core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Defines the 'float' field type.
FloatItem.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php
FloatItem::fieldSettingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Returns a form for the field-level settings.
FloatItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Generates placeholder field values.
FloatItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Defines field item properties.
FloatItem::schema function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Returns the schema for the field.
ImageTest::testFloatResize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::resize().
Inspector::assertAllFloat function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are float values.
InspectorTest::testAssertAllFloat function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are floating point variables.
ListFloatItem class core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Plugin implementation of the 'list_float' field type.
ListFloatItem.php file core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php
ListFloatItem::allowedValuesDescription function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Provides the field type specific allowed values form element #description.
ListFloatItem::castAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Converts a value to the correct type.
ListFloatItem::extractAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Extracts the allowed values array from the allowed_values element.
ListFloatItem::propertyDefinitions function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Defines field item properties.
ListFloatItem::schema function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Returns the schema for the field.
ListFloatItem::simplifyAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Simplifies allowed values to a key-value array from the structured array.
ListFloatItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Checks whether a candidate allowed value is valid.
NumberFieldRdfaTest::testFloatFormatter function core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php Tests the float formatter.
NumberFieldRdfaTest::testFloatFormatterWithScale function core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php Tests the float formatter with a scale. Scale is not exercised.
NumberFieldRdfaTest::testFloatFormatterWithScaleExercised function core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php Tests the float formatter with a scale. Scale is exercised.
NumberFieldRdfaTest::testFloatFormatterWithSettings function core/modules/rdf/tests/src/Kernel/Field/NumberFieldRdfaTest.php Tests the float formatter with settings.
NumberFieldTest::testCreateNumberFloatField function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Tests setting the minimum value of a float field through the interface.
NumberFieldTest::testNumberFloatField function core/modules/field/tests/src/Functional/Number/NumberFieldTest.php Test float field.
OptionsFieldUITest::testOptionsAllowedValuesFloat function core/modules/options/tests/src/Functional/OptionsFieldUITest.php Options (float) : test 'allowed values' input.
OptionsFloatFieldImportTest class core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php Tests option fields can be updated and created through config synchronization.
OptionsFloatFieldImportTest.php file core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php
OptionsFloatFieldImportTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php The theme to install as the default for testing.
OptionsFloatFieldImportTest::$modules property core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php Modules to enable.
OptionsFloatFieldImportTest::setUp function core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php
OptionsFloatFieldImportTest::testImport function core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php Tests that importing list_float fields works.
OptionsWidgetsTest::$float property core/modules/options/tests/src/Functional/OptionsWidgetsTest.php A field storage with float values to use in this test class.
OptionsWidgetsTest::testSelectListFloat function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_select' widget (float values).
TestCompatibilityTrait::assertIsFloat function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/TestCompatibilityTrait.php Provides forward-compatibility for assertIsFloat().
TestCompatibilityTrait::assertIsFloat function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/TestCompatibilityTrait.php Provides forward-compatibility for assertIsFloat().
TestCompatibilityTrait::assertIsNotFloat function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/TestCompatibilityTrait.php Provides forward-compatibility for assertIsNotFloat().
TestCompatibilityTrait::assertIsNotFloat function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/TestCompatibilityTrait.php Provides forward-compatibility for assertIsNotFloat().

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