You are here

class GranularityService in Duration Field 8.2

Same name in this branch
  1. 8.2 src/Service/GranularityService.php \Drupal\duration_field\Service\GranularityService
  2. 8.2 tests/src/Unit/Service/GranularityService.php \Drupal\Tests\duration_field\Unit\Service\GranularityService
Same name and namespace in other branches
  1. 3.0.x tests/src/Unit/Service/GranularityService.php \Drupal\Tests\duration_field\Unit\Service\GranularityService

Overrides GranularityService, used for UnitTests.

Hierarchy

Expanded class hierarchy of GranularityService

File

tests/src/Unit/Service/GranularityService.php, line 10

Namespace

Drupal\Tests\duration_field\Unit\Service
View source
class GranularityService extends GranularityServiceBase {

  /**
   * {@inheritdoc}
   */
  protected function getDrupalStatic($key) {
    return [];
  }

}

Members