You are here

protected property DurationHumanDisplayFormatter::$granularityService 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::granularityService

The granularity service.

Type: \Drupal\duration_field\Service\GranularityServiceInterface

File

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

Class

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

Namespace

Drupal\duration_field\Plugin\Field\FieldFormatter

Code

protected $granularityService;