You are here

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

Expanded class hierarchy of DurationDataInterface

All classes that implement DurationDataInterface

File

src/Plugin/DataType/DurationDataInterface.php, line 15

Namespace

Drupal\duration_field\Plugin\DataType
View source
interface DurationDataInterface 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.