public function IntervalItemInterface::buildPHPString in Interval Field 8
Builds a php date interval string from the plugin properties.
Return value
string The interval translated to a php string compatible with \DateTime::modify.
1 method overrides IntervalItemInterface::buildPHPString()
- IntervalItem::buildPHPString in src/
Plugin/ Field/ FieldType/ IntervalItem.php - Builds a php date interval string from the plugin properties.
File
- src/
IntervalItemInterface.php, line 53
Class
Namespace
Drupal\intervalCode
public function buildPHPString();