You are here

GranularityService.php in Duration Field 8.2

File

tests/src/Unit/Service/GranularityService.php
View source
<?php

namespace Drupal\Tests\duration_field\Unit\Service;

use Drupal\duration_field\Service\GranularityService as GranularityServiceBase;

/**
 * Overrides GranularityService, used for UnitTests.
 */
class GranularityService extends GranularityServiceBase {

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

}

Classes

Namesort descending Description
GranularityService Overrides GranularityService, used for UnitTests.