You are here

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

IntervalItemInterface

Namespace

Drupal\interval

Code

public function buildPHPString();