You are here

protected property DurationWidget::$durationService in Duration Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/DurationWidget.php \Drupal\duration_field\Plugin\Field\FieldWidget\DurationWidget::durationService
  2. 3.0.x src/Plugin/Field/FieldWidget/DurationWidget.php \Drupal\duration_field\Plugin\Field\FieldWidget\DurationWidget::durationService

The Duration service.

Type: \Drupal\duration_field\Service\DurationServiceInterface

File

src/Plugin/Field/FieldWidget/DurationWidget.php, line 32

Class

DurationWidget
Creates a default widget to output a duration field.

Namespace

Drupal\duration_field\Plugin\Field\FieldWidget

Code

protected $durationService;