interface DurationDataInterface in Duration Field 8
The duration data type.
The plain value of an integer is an ISO 8601 Duration string. For setting the value a valid ISO 8601 Duration string must be passed.
Hierarchy
- interface \Drupal\Core\TypedData\PrimitiveInterface
- interface \Drupal\duration_field\Plugin\DataType\DurationDataInterface
Expanded class hierarchy of DurationDataInterface
All classes that implement DurationDataInterface
File
- src/
Plugin/ DataType/ DurationDataInterface.php, line 15
Namespace
Drupal\duration_field\Plugin\DataTypeView source
interface DurationDataInterface 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. |