function time
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\time()
- 8.9.x core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\time()
- 10 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\time()
Shadow time() system call.
Return value
int
24 string references to 'time'
- CacheTest::testCacheData in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests the data contained in cached items.
- CacheTest::testHeaderStorage in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests css/js storage and restoring mechanism.
- CacheTest::testTimeResultCaching in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests time based caching.
- CacheTest::testTimeResultCachingWithFilter in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests result caching with filters.
- CacheTest::testTimeResultCachingWithPager in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests result caching with a pager.
File
-
core/
tests/ Drupal/ Tests/ Component/ Datetime/ TimeTest.php, line 138
Namespace
Drupal\Tests\Component\DatetimeCode
function time() {
return 12345678;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.