interface DurationInterface
Interface for durations.
Hierarchy
- interface \Drupal\Core\TypedData\Type\DurationInterface
Related topics
- Typed Data API
- API for describing data based on a set of available data types.
File
- core/lib/Drupal/Core/TypedData/Type/DurationInterface.php, line 10
Namespace
Drupal\Core\TypedData\TypeMembers
Name | Modifiers | Type | Description |
---|---|---|---|
DurationInterface::getDuration | public | function | Returns the duration. |
DurationInterface::setDuration | public | function | Sets the duration. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!Type!DurationInterface.php/interface/DurationInterface/8.1.x