DurationInterface::getDuration

public DurationInterface::getDuration()

Returns the duration.

Return value

\DateInterval|null A DateInterval object or NULL if there is no duration.

Throws

\Exception

File

core/lib/Drupal/Core/TypedData/Type/DurationInterface.php, line 20

Class

DurationInterface
Interface for durations.

Namespace

Drupal\Core\TypedData\Type

Code

1
public function getDuration();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.