You are here

constant DurationService::DURATION_FIELD_PATTERN in Duration Field 8

File

src/Service/DurationService.php, line 15

Class

DurationService
Provides services for the Duration Field module.

Namespace

Drupal\duration_field\Service

Code

const DURATION_FIELD_PATTERN = '/^P(\\d+Y)?(\\d+M)?(\\d+D)?(T)?(\\d+H)?(\\d+M)?(\\d+S)?$/';