GranularityService.php in Duration Field 3.0.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Tests\duration_field\Unit\ServiceFile
tests/src/Unit/Service/GranularityService.phpView 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
Name | Description |
---|---|
GranularityService | Overrides GranularityService, used for UnitTests. |