interface IntegerInterface
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/Type/IntegerInterface.php \Drupal\Core\TypedData\Type\IntegerInterface
- 10 core/lib/Drupal/Core/TypedData/Type/IntegerInterface.php \Drupal\Core\TypedData\Type\IntegerInterface
- 11.x core/lib/Drupal/Core/TypedData/Type/IntegerInterface.php \Drupal\Core\TypedData\Type\IntegerInterface
Interface for integer numbers.
The plain value of an integer is a regular PHP integer. For setting the value any PHP variable that casts to an integer may be passed.
Hierarchy
- interface \Drupal\Core\TypedData\PrimitiveInterface
- interface \Drupal\Core\TypedData\Type\IntegerInterface extends \Drupal\Core\TypedData\PrimitiveInterface
Expanded class hierarchy of IntegerInterface
All classes that implement IntegerInterface
Related topics
8 files declare their use of IntegerInterface
- ConfigSchemaTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigSchemaTest.php - EntityReferenceFieldItemNormalizerTest.php in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - IntegerData.php in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ IntegerData.php - PrimitiveTypeConstraintValidator.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraintValidator.php - SchemaCheckTrait.php in core/
lib/ Drupal/ Core/ Config/ Schema/ SchemaCheckTrait.php
File
-
core/
lib/ Drupal/ Core/ TypedData/ Type/ IntegerInterface.php, line 15
Namespace
Drupal\Core\TypedData\TypeView source
interface IntegerInterface extends PrimitiveInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.