You are here

protected property DurationHumanDisplayFormatter::$granularityService in Duration Field 8.2

Same name and namespace in other branches
  1. 3.0.x 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;