interface FloatInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/TypedData/Type/FloatInterface.php \Drupal\Core\TypedData\Type\FloatInterface
Interface for floating-point numbers.
The plain value of a float is a regular PHP float. For setting the value any PHP variable that casts to a float may be passed.
Hierarchy
- interface \Drupal\Core\TypedData\PrimitiveInterface
- interface \Drupal\Core\TypedData\Type\FloatInterface
Expanded class hierarchy of FloatInterface
All classes that implement FloatInterface
Related topics
4 files declare their use of FloatInterface
- FloatData.php in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ FloatData.php - Contains \Drupal\Core\TypedData\Plugin\DataType\FloatData.
- PrimitiveTypeConstraintValidator.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraintValidator.php - Contains \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator.
- SchemaCheckTrait.php in core/
lib/ Drupal/ Core/ Config/ Schema/ SchemaCheckTrait.php - Contains \Drupal\Core\Config\Schema\SchemaCheckTrait.
- StorableConfigBase.php in core/
lib/ Drupal/ Core/ Config/ StorableConfigBase.php - Contains \Drupal\Core\Config\StorableConfigBase.
File
- core/
lib/ Drupal/ Core/ TypedData/ Type/ FloatInterface.php, line 20 - Contains \Drupal\Core\TypedData\Type\FloatInterface.
Namespace
Drupal\Core\TypedData\TypeView source
interface FloatInterface extends PrimitiveInterface {
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrimitiveInterface:: |
public | function | Gets the primitive data value casted to the correct PHP type. | 5 |
PrimitiveInterface:: |
public | function | Gets the primitive data value. | |
PrimitiveInterface:: |
public | function | Sets the primitive data value. |