You are here

protected property DurationHumanDisplayFormatter::$durationService in Duration Field 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/DurationHumanDisplayFormatter.php \Drupal\duration_field\Plugin\Field\FieldFormatter\DurationHumanDisplayFormatter::durationService

The Duration service.

Type: \Drupal\duration_field\Service\DurationServiceInterface

File

src/Plugin/Field/FieldFormatter/DurationHumanDisplayFormatter.php, line 46

Class

DurationHumanDisplayFormatter
Provides a human friendly formatter for the Duration field type.

Namespace

Drupal\duration_field\Plugin\Field\FieldFormatter

Code

protected $durationService;