interface BooleanInterface in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/Type/BooleanInterface.php \Drupal\Core\TypedData\Type\BooleanInterface
- 9 core/lib/Drupal/Core/TypedData/Type/BooleanInterface.php \Drupal\Core\TypedData\Type\BooleanInterface
Interface for boolean data.
Hierarchy
- interface \Drupal\Core\TypedData\PrimitiveInterface
- interface \Drupal\Core\TypedData\Type\BooleanInterface
Expanded class hierarchy of BooleanInterface
All classes that implement BooleanInterface
4 files declare their use of BooleanInterface
- BooleanData.php in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ BooleanData.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 - TypedDataTest.php in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php
File
- core/
lib/ Drupal/ Core/ TypedData/ Type/ BooleanInterface.php, line 10
Namespace
Drupal\Core\TypedData\TypeView source
interface BooleanInterface extends PrimitiveInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrimitiveInterface:: |
public | function | Gets the primitive data value casted to the correct PHP type. | 1 |
PrimitiveInterface:: |
public | function | Gets the primitive data value. | |
PrimitiveInterface:: |
public | function | Sets the primitive data value. |