You are here

interface IntegerInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

Expanded class hierarchy of IntegerInterface

All classes that implement IntegerInterface

Related topics

5 files declare their use of IntegerInterface
ConfigSchemaTest.php in core/modules/config/src/Tests/ConfigSchemaTest.php
Contains \Drupal\config\Tests\ConfigSchemaTest.
IntegerData.php in core/lib/Drupal/Core/TypedData/Plugin/DataType/IntegerData.php
Contains \Drupal\Core\TypedData\Plugin\DataType\IntegerData.
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/IntegerInterface.php, line 20
Contains \Drupal\Core\TypedData\Type\IntegerInterface.

Namespace

Drupal\Core\TypedData\Type
View source
interface IntegerInterface extends PrimitiveInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
PrimitiveInterface::getCastedValue public function Gets the primitive data value casted to the correct PHP type. 5
PrimitiveInterface::getValue public function Gets the primitive data value.
PrimitiveInterface::setValue public function Sets the primitive data value.