Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/TypedData/Type/BooleanInterface.php \Drupal\Core\TypedData\Type\BooleanInterface
  2. 9 core/lib/Drupal/Core/TypedData/Type/BooleanInterface.php \Drupal\Core\TypedData\Type\BooleanInterface

Interface for boolean data.

Hierarchy

Expanded class hierarchy of BooleanInterface

All classes that implement BooleanInterface

2 files declare their use of BooleanInterface
PrimitiveTypeConstraintValidator.php in core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.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\Type
View source
interface BooleanInterface extends PrimitiveInterface {

}

Members

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